Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-76246 output: combobox support improvements
- It was a mistake to assume the listbox is always within combobox.parentElement - Take into account that the popup of the combobox is not necessarily a listbox - Update combobox fix so that it also work with comboboxes that are not select-menu - Update combobox fix so that it also support editable comboboxes - Update click listener to take into account that the event's target might be one of the option element - Having a hidden input element for comboboxes was not an ARIA requirement and was added by us. I added data-input-element to the combobox element to specify the input element related to it.
- Loading branch information