We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c0aa10 commit da71f11Copy full SHA for da71f11
packages/internarbeidsflate-decorator-v3/src/components/SearchArea.tsx
@@ -48,7 +48,10 @@ const SearchArea: React.FC = () => {
48
const clearConfig: Config = {
49
icon: <XMarkIcon />,
50
label: 'Resett',
51
- onClick: StoreHandler.fnrValueManager.clearFnr,
+ onClick: async () => {
52
+ await StoreHandler.fnrValueManager.clearFnr();
53
+ ref.current?.focus();
54
+ },
55
};
56
57
const config = showSearchIcon ? searchConfig : clearConfig;
0 commit comments