Optional Select
#1708
Replies: 2 comments
-
This is a good idea. We considered adding support for this in Select, Tabs, and other "selectable" components. Feel free to pick this up if you want, otherwise, we might get to it in the future. |
Beta Was this translation helpful? Give feedback.
0 replies
-
After some consideration, I think it's more clear to add clear icon button instead of unselect which are not the standard |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CleanShot.2567-07-30.at.15.02.58.mp4
I think it is normal to have an optional select field where you can select and unselect a value.
How would you recommend a way to make select unselectable in zagjs?
Should it be a new prop? How can I extend the select state machine?
or is it better to just use ClearTrigger?
Beta Was this translation helpful? Give feedback.
All reactions