Replies: 1 comment 1 reply
-
Ah yes this makes sense. Not sure what the API would look like. Like, if you pass an I'm sure it's a solvable problem though, just articulating it. I'd welcome a PR attempting this (for anyone reading this) — feel free to respond here with ideas about how we could implement. If not, I might get to it eventually. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Was using Hotwire Combobox today for Hatchbox.io to help users set up cron expressions and realized it would be really handy to have disabled options much like a select tag supports. We were primarily trying to use that as a label like an option group in this case, but disabling options in selects is common too.
Thinking it could be as simple as a
disabled
attribute on the item? Maybe you would needpointer-events: none
if disabled to prevent interaction?Beta Was this translation helpful? Give feedback.
All reactions