Disabling text input for dropdowns that don't need live search #185
ryanckulp
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
just a tiny tip, simply passing
readonly: true
to thecombobox_tag
helper will disable the live search.you can optionally add
cursor:pointer
to.hw-combobox__input
for a more intuitive UX.i personally needed this because we have an application where "live / dynamic search" is only available on higher paid plans, and lower paying customers get all their account's options loaded at once. i didn't want to use a different combobox solution just for lower paying users, so here we are.
thank you @josefarias !
Beta Was this translation helpful? Give feedback.
All reactions