Skip to content

Commit

Permalink
Merge pull request #26 from dshk0718/main
Browse files Browse the repository at this point in the history
fix(Components): πŸ› Fix the issue with not being able to use other values with `TextField` when `items` was provided.
  • Loading branch information
rvsia authored Jun 26, 2024
2 parents 8a12363 + b77acaa commit 72e008f
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 72e008f

Please sign in to comment.