-
Hello, is it possible two search for two keys at a time in a single field? I have a data that consists of zipcodes, cities and abbr state
I would like to know if I can search for something in the field like Brooklyn, NY or Brooklyn NY and will display the results that contains the city Brooklyn with the state NY. In this case, it should not display Bronx because even if the state is NY, the city would not matched up. Edit: My current progress so far is when I typed in "Brooklyn,", after the comma, it will return no results as it only searching for one key which is city. Also when I typed in "Brooklyn N", it will also return nothing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Already resolved it by removing data.keys and instead use the searchEngine option (https://tarekraafat.github.io/autoComplete.js/#/configuration?id=searchengine-optional) so that I could return concatenated data (city and state) that depends on custom conditions. |
Beta Was this translation helpful? Give feedback.
Already resolved it by removing data.keys and instead use the searchEngine option (https://tarekraafat.github.io/autoComplete.js/#/configuration?id=searchengine-optional) so that I could return concatenated data (city and state) that depends on custom conditions.