Selectize demo
Example of selectize with custom data attributes which are respected during filtering. Entering "Asia" for example will list only countries with data-continent="Asia".
Continent: Not specified
Search for a country by entering its name or its continent
Afghanistan
Algeria
Australia
Bahamas
Bahrain
Bangladesh
Belgium
Brazil
Bulgaria
Cameroon
Canada
Chad
Colombia
Congo
Costa Rica
Croatia
Denmark
Ecuador
Egypt
Ethiopia
Finland
France
Gabon
Gambia
Germany
Honduras
Hong Kong
India
Indonesia
Iran, Islamic Republic of
Iraq
Marshall Islands
Mexico
New Zealand
Peru
Uruguay
Venezuela, Bolivarian Republic of
Related Links:
https://github.com/selectize/selectize.js/issues/239
https://github.com/selectize/selectize.js