Posted 14 September 2017, 11:36 am EST
I have a wj-auto-complete dropdown menu, with a number of options.
The reason we choose this element, is that it limits the options based on the input from the user.
However, I find that the list of options is not reset when the user has selected an option.
The scenario is:
- A list of 20 options is loaded into the element.
- User enters 3 characters. 5 matching options are returned and listed in the dropdown menu.
- User selects 1 of these 5 options from the dropdown menu.
When the user comes back to the dropdown to select another option, the dropdown will still only display the 5 options that matches the 3 characters.
Is it possible to “reset” the wj-auto-complete dropdown to list all the 20 options, when the user has selected 1 of the 5 matching options?