-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Description
The select components uses the listBox components inside it, and the listBox component has hideEmptyContent
attribute which controls if the listBox should be shown if the content is empty, I've tried to pass false
to the listboxProps attribute of the select component but still clicking on the select component will do nothing.
After going through the select component source code I found this line which controls the clicking behavior and it looks like it forcefully won't open the listBox if the list is empty.
Expected
Being able to control the clicking behavior of the select component when the list is empty.
Suggested
Adding an extra attribute to the select component that gets passed to the useMultiSelect hook to control the clicking behavior.
Lucas20000903
Metadata
Metadata
Assignees
Labels
No labels