Skip to content

Commit b77acaa

Browse files
committed
fix(Components): šŸ› Fix the issue with not being able to use other values when the items prop for suggestions was provided to the TextField component.
1 parent 8a12363 commit b77acaa

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)