Skip to content

Commit

Permalink
fix(Components): 🐛 Fix the issue with not being able to use other val…
Browse files Browse the repository at this point in the history
…ues when the `items` prop for suggestions was provided to the `TextField` component.
  • Loading branch information
dshk0718 committed Jun 25, 2024
1 parent 8a12363 commit b77acaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const TextField: React.FC<TextFieldProps> = (props) => {
const { input, meta, isRequired, items, ...rest } = useFieldApi(props) as TextFieldProps;

return (
<Autocomplete {...input} items={items || []}>
<Autocomplete {...input} items={items || []} allowOtherValues>
{({ getInputProps, getRef, inputValue, openMenu }) => (
<TextInputField
ref={getRef}
Expand Down

0 comments on commit b77acaa

Please sign in to comment.