ibm-js / deliteful

Multichannel (desktop/mobile) UI Custom Elements Library
http://ibm-js.github.io/deliteful
Other
70 stars 36 forks source link

Combobox: defaultQuery and autoFilter don't work well together #724

Open wkeese opened 4 years ago

wkeese commented 4 years ago

If you create a Combobox with defaultQuery specified, the initial dropdown list will be filtered by defaultQuery.

However, once the user starts typing a search string, the dropdown list will be filtered by that search string.

It should be filtered by both the defaultQuery and the search string.

The code in question is in ComboboxImplementation#filter() and getQuery().