stefanocudini / bootstrap-list-filter

Search widget to filter Bootstrap lists
https://opengeo.tech/bootstrap-list-filter/
MIT License
99 stars 31 forks source link

prevent case sensitive #13

Closed avishayhajbi closed 9 years ago

avishayhajbi commented 9 years ago

hii is it possible to filter without case sensitive ? a -- give me Avi BUT avi -- does not give me Avi

i am tried to use
itemFilter: function(text, item){ /* changing the item */ }, but it doesn't work !!

thanks.

stefanocudini commented 9 years ago

solved it from versino 0.2.1 added new option casesensitive:true https://github.com/stefanocudini/bootstrap-list-filter/commit/48c55d6a0321546b345f81baf72c901d9498810c

avishayhajbi commented 9 years ago

sorry but i am updated my question . i had a mistake. a -- give me Avi BUT avi -- does NOT give me Avi

casesensitive

did not works for me

stefanocudini commented 9 years ago

casesensitive is default to false