You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried out the combobox and found it to be really nice!
A few ideas:
It would be nice to be able to pass a ReactNode to the Combobox.Input's displayValue so that you could display images, svgs, etc. Maybe a separate stringValue and displayName props so that a string is still being predictably used for the event target value?
I found that you can wrap the Combobox.Input with the Combobox.Button to cause the list box to open without a state change. (example below) It would be nice if Combobox exposed a setOpen or toggleOpen render prop to allow for manual control of the open state. Use cases: Default open or open on focus.
It would be nice to have an isClearable prop that provides a clear "X" icon. (example below)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just tried out the combobox and found it to be really nice!
A few ideas:
Combobox.Input
'sdisplayValue
so that you could display images, svgs, etc. Maybe a separatestringValue
anddisplayName
props so that a string is still being predictably used for the event target value?Combobox.Input
with theCombobox.Button
to cause the list box to open without a state change. (example below) It would be nice ifCombobox
exposed asetOpen
ortoggleOpen
render prop to allow for manual control of the open state. Use cases: Default open or open on focus.isClearable
prop that provides a clear "X" icon. (example below)Thanks for the considerations and great work!
Beta Was this translation helpful? Give feedback.
All reactions