selectize.js icon indicating copy to clipboard operation
selectize.js copied to clipboard

Searching the options with the space

Open chennakrishnaa opened this issue 13 years ago • 1 comments

Searching the items with the space is not behaving properly. It is creating the items again if the user enter space and character.

For e.g. I have names like Eldridge Ngui Felisa Ransler

if search with "Eld" (without quotes), "Eldridge Ngui" is showing up in the drop down list. If I enter "Eld f" both the names are showing. Is it the proper behaviour (I see the same in examples). If is proper, how do I search based on the complete string i.e. in this case it should only show Eldridge Ngui and after entering space should show nothing.

Also, if I enter spaces after some characters in the input, the characters are moving left and are hidden. animated 16416

chennakrishnaa avatar Sep 16 '13 19:09 chennakrishnaa

Do you mind opening a ticket on sifter.js requesting a "conjunction" option? Right now, it's or – it'd be nice to have it configurable to and (which would solve what you're noticing).

brianreavis avatar Sep 17 '13 05:09 brianreavis