qwik-ui
qwik-ui copied to clipboard
Combobox not rendering selected item correctly
- select item in list
- clear selection
- notice that where you selected item in list is now being reported as selected
The selected item seems to be be index based, but does not take into account the list indices changing on combo text input.
Example:
- Input "J" combo input: "J" list:
- joe
- joseph
- joseppi
- you select "joseppi" combo input: "J" list:
- joe
- joseph
- joseppi <- selected
- you then combo input text. combo input: "" list:
- alice
- bob
- cool kid <- selected
- joe
- joseph
- joseppi
The "selected" item is not accurate here. It should probably always show the selected item. I think it should probably be alphabetized into the results list.
Oh wow, that is definitely a bug haha. Thanks for bringing this to our attention, will try to reproduce
Still an issue @thejackshelton ?
fixed in qwik ui 0.5