I'm trying to remove extra items from the popup. How to do it?
The snippet you provided works well by filtering items before showing the suggest popup. However it has the downside that the combo looses the suggest filter as you type functionality.
_suggest_after_filter calls show, which in turn calls the handler for onBeforeShow. It seems this breaks the existing functionality.
I really need a combined functionality, where one is able to see a previously selected value in the combo, but some values are not available for selection (ie: filter before show), and suggest filter as you type works correctly.
try to check for being already visible in the handler
var list = this.getList();
Thank you so much. Works perfectly.
It looks like you're new here. If you want to get involved, click one of these buttons!