diff --git a/components/lib/dropdown/Dropdown.js b/components/lib/dropdown/Dropdown.js index 3bfa61c25b..4c0bee669b 100644 --- a/components/lib/dropdown/Dropdown.js +++ b/components/lib/dropdown/Dropdown.js @@ -656,7 +656,7 @@ export const Dropdown = React.memo( const onEditableInputChange = (event) => { let searchIndex = null; - if (event.target.value) { + if (event.target.value && visibleOptions) { searchIndex = visibleOptions.findIndex((item) => getOptionLabel(item).toLocaleLowerCase().startsWith(event.target.value.toLocaleLowerCase())); }