diff --git a/verification/curator-service/ui/src/components/common-form-fields/FormikFields.tsx b/verification/curator-service/ui/src/components/common-form-fields/FormikFields.tsx index e7a69b879..b92b66794 100644 --- a/verification/curator-service/ui/src/components/common-form-fields/FormikFields.tsx +++ b/verification/curator-service/ui/src/components/common-form-fields/FormikFields.tsx @@ -121,10 +121,10 @@ export function FormikAutocomplete( return filtered; }} loading={loading} - onChange={(_, values): void => + onChange={(_, values) => setFieldValue(props.name, values ?? undefined) } - onBlur={(): void => setTouched({ [props.name]: true })} + onBlur={() => setTouched({ [props.name]: true })} defaultValue={props.initialValue} renderInput={(params): JSX.Element => ( // Do not use FastField here