Open mikeburgh opened 1 month ago
For the combo box option, is it possible to enforce the entered value must match a provided value when using the native form validation.
Currently, in combobox mode, it allows committing an invalid value that is not present in the list. In this case, the value will be an empty string, and the selectedIndex will be -1. This is definitely a bug. For validation, you can use the required
attribute, which is the only applicable validation option for a select element. (I've just realized the validation is also buggy.)
Also, is it possible to get the ability to render an icon at the start of each value.
With the current implementation, it's only feasible with codicons. Would that be acceptable for you?
Thanks, codicons will work.. I think I should be able to switch those for other icons easily enough post render if the need arises.
I've realized with the current implementation the performance is drastically degrading if icons are rendered in the options. It will be complex task. I can't estimate when it will be finished.
No worries, I am getting around to seeing if I can patch it in after the render.. if I can I will close this as that will take care of my needs.
For the combo box option, is it possible to enforce the entered value must match a provided value when using the native form validation.
Also, is it possible to get the ability to render an icon at the start of each value.