multiComboFilter: how to show suggest options in specific order


I am trying to customize the awesome multiComboFilter. Check this sample. multiComboFilter options are shown in alphabetical order. Is it possible to show the options in a specific order? (actually, the one set in the options field: ["Red", "Orange", "Yellow", "Green"])

Thanks in advance!

1 Like


collectValues (by calling inner _collectValues) does the sorting, so you will need to redefine this method.

Thanks for the answer, it works :slight_smile: