Closed winston0410 closed 1 year ago
My bad just read the doc again, seems like I have missed on:select
event, sorry!
Still I wonder how would you create a Listbox if it is going to be using in a form library like felte, and only input elements will be pick up automatically? Which approach is more preferrable in your opionion?
Right now I am using
createListbox
to create a custom<select>
element with styling. One issue that I bumped into is, the custom select element does not fire anychange
event, and no event is dispatched once the value has been selected. If a event is dispatched once an element is selected, I can at least do something programatically there.This is how my component looks like:
Since I can see from doc no event is dispatched this library, is there a way originally designed to handle issue like this?