evoluteur / structured-filter

jQuery UI widget for structured queries like "Contacts where Firstname starts with A and Birthday before 1/1/2000 and State in (CA, NY, FL)"...
http://evoluteur.github.io/structured-filter/
MIT License
258 stars 61 forks source link

Auto Complete for all dropdowns #24

Open hnviradiya opened 6 years ago

hnviradiya commented 6 years ago

Feature Request:

It will be a very useful feature if we can provide autocomplete by typing in the dropdowns.

So that user doesn't have to find from dropdown.

evoluteur commented 6 years ago

Yes, it would be nice. It is on my list of features to add but I'm not sure when I can find the time to do it. Thanks.

raghu4oth commented 2 years ago

Awesome tool, had a question though.

For a field which has Multi select filter options, and has values which contains spaces or special characters , the tool fails to select previous options. While we click on the filter to edit, the options do not get auto selected.

Below image shows the issue that I am facing when value containing space or special chars is selected for editing: image

When the selected option is a single word, it works like a charm image

Any fix that you would suggest?

evoluteur commented 2 years ago

This is not a bug. Entries in the list are defined as id-label like {id:"2", label:"Family & Friends"} id should not contain spaces.

htaymoor commented 2 years ago

Someone asked for it. Have an open PR. But you can use it. https://github.com/evoluteur/structured-filter/pull/31/commits/afe63f263975192f9533eadaffdfa8ea2e15005d