#Searchable Select giving a null value with searchable and clearable

4 messages · Page 1 of 1 (latest)

forest ravine
#

Hello!

I'm having an issue where after I update the value using a keyboard, selecting the value would result in a null value.

It looks like it's because of the searchable and clearable props combination.

Example:
https://codesandbox.io/s/nostalgic-bohr-xm9jwl?file=/src/App.tsx

Thanks!

nostalgic-bohr-xm9jwl by koralarts using @emotion/react, @mantine/core, @mantine/hooks, @mantine/utils, loader-utils, react, react-dom, react-scripts

#

Searchable Select giving a null value with searchable and clearable

drowsy yoke
forest ravine
#

@drowsy yoke Does doesn't fix it. Even if you purely use the keyboard, it still doesn't select properly. I don't think it's related to the fact that the option isn't initially highlighted since I'm using the mouse to select. It's probably related to some logic that happens when searchable and clearable are both true