I'm using chosen (chosen website) and it lets the user search for United States by inputting "United", but If user wants to input "United States", the search doesn't seems to work.
What can I do in order to let user search for multiple words?
Here is the HTML code:
<select data-placeholder="Séléctionnez une installation" id="installationDiffusion" multiple="multiple" name="installationDiffusion" class="chosen">
<option value="15">Test -> Machine 1</option>
<option value="16">Test -> Machine 2</option>
<option value="17">Test -> Machine 3</option>
<option value="15">Test2 -> Machine 1</option>
<option value="16">Test2 -> Machine 2</option>
<option value="17">Test2 -> Machine 3</option>
</select>
$$('.chosen').chosen({});
Here is the fiddle of this code: fiddle of issue
Here it is the result I want to have :
Search : Machine 1
Result: not found
answer is:
For instance here
will search into the whole phrase.