Skip to content

Commit

Permalink
update set field values
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislaw-zakrzewski committed Apr 9, 2024
1 parent a8bbb46 commit e5f5a65
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5f5a65

Please sign in to comment.