bootstrap-5-autocomplete
bootstrap-5-autocomplete copied to clipboard
How to refresh the autocomplete data?
Hi, Is there a way to refresh the autocomplete options once the list is loaded. For example, I am using a dropdown next to the search bar. Based on the selection in the dropdown, the results in the autocomplete should get filtered. However, if I fire the Autocomplete event every time a value is selected, it creates a new dropdown list based on the different datasource. Any suggestions to refresh or destroy the existing autocomplete dropdown to repopulate with freshdata?