VaSelect: hard to customize select options #4064
Labels
BUG
Something isn't working
d3: medium
No cheats. Monsters a bit faster.
v4: must have
This is something really user want to have
Example:
We should have one slot to customize option:
And it also should reflect how option is displayed when selected in input field.
For some reason, user need to manually add @click="selectOption". I'd expect just change visual and option to work, but there is nothing happening on click without adding listener manually.
We're also losing default option styles.
I think we need something like
option-content
slot, which will be placed in SelectOption instead of text. So there is working keyboard navigation, hover effect, etc. But option can have additional icons, avatar, etc.Right now, using
option
slot breaks keyboard navigation completely.The text was updated successfully, but these errors were encountered: