Select2 Fuzzy Search?

368 views
Skip to first unread message

Andrei Mincov

unread,
Aug 31, 2014, 9:46:58 PM8/31/14
to sel...@googlegroups.com
Hello,

Is there a way to have ca no return North Carolina ?

This way I would be able to place 4 dependent variables into a single select box and easily find the correct set.

Thanks,
Andrei

Kevin Brown

unread,
Aug 31, 2014, 9:53:45 PM8/31/14
to sel...@googlegroups.com
Hi Andre,

Is there a way to have ca no return North Carolina ?

This way I would be able to place 4 dependent variables into a single select box and easily find the correct set.

Select2 allows for a custom matcher to be specified by using the `matcher` option when initializing Select2.

https://ivaynberg.github.io/select2/#matcher

Matching when using a remote data set should be done on the server.
-- 
Kevin Brown
ke...@kevinbrown.in
Reply all
Reply to author
Forward
0 new messages