An uncaught error is logged in the console when the dropdown is shown, the input is empty and the user presses the Tab key, most likely because it couldn't map '' to a value.
Uncaught (in promise) TypeError: t is null
getMappedValue suggestions.js:456
onKeyDown suggestions.js:92
promise callback*onKeyDown suggestions.js:55
binding suggestions.js:32
setTimeout handler*show dropdown.js:120
onFocusBlur events.js:231
Even though it breaks nothing i figured this error should be prevented.
Prerequisites
💥 Demo Page
https://jsbin.com/jekuqap/edit?html,js,output
Explanation
An uncaught error is logged in the console when the dropdown is shown, the input is empty and the user presses the Tab key, most likely because it couldn't map
''
to a value.Even though it breaks nothing i figured this error should be prevented.