We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866b0c5 commit 4de372cCopy full SHA for 4de372c
src/components/Forms/Formik/FormikResourceSelectorDropdown.tsx
@@ -197,14 +197,15 @@ export default function FormikResourceSelectorDropdown({
197
}
198
return "Start typing to search";
199
}}
200
+ isClearable
201
value={value}
202
onChange={(value: any) => {
203
field.onChange({
204
target: {
205
name: field.name,
206
value: Array.isArray(value)
207
? value.map((item) => item.value)
- : value.value
208
+ : value?.value
209
210
});
211
0 commit comments