filter options of richselect

Hello!
I need hide some option in list of richselect
https://snippet.webix.com/hd75oxa6
filter not work(((

Hello @Roman,

Unfortunately, the list will be unfiltered each time the suggest pops up. The are, however, a few ways around the issue. You can either:

  • Filter the DataCollection itself, which will preserve the filtered dataset each time the suggest appears. Of course, this will affect every other component linked to the said DataCollection, which is why this solution might not be ideal in some cases. Here is the example: https://snippet.webix.com/396oxh1c.

  • Or, if you do not wish to use a DataCollection, your only other option seems to be filtering the list each time the suggest appears. You can catch the moment it does so with the help of the onShow event handler. Please take a look at the following example: https://snippet.webix.com/6nh8y187.