Skip to content

Commit 72e008f

Browse files
authored
Merge pull request #26 from dshk0718/main
fix(Components): 🐛 Fix the issue with not being able to use other values with `TextField` when `items` was provided.
2 parents 8a12363 + b77acaa commit 72e008f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/evergreen-component-mapper/src/text-field/text-field.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const TextField: React.FC<TextFieldProps> = (props) => {
1515
const { input, meta, isRequired, items, ...rest } = useFieldApi(props) as TextFieldProps;
1616

1717
return (
18-
<Autocomplete {...input} items={items || []}>
18+
<Autocomplete {...input} items={items || []} allowOtherValues>
1919
{({ getInputProps, getRef, inputValue, openMenu }) => (
2020
<TextInputField
2121
ref={getRef}

0 commit comments

Comments
 (0)