How to stop QAutocomplete from triggering on QSearch update

  • I have a QSearch with a nested ajax QAutocomplete. When I type into the search, then the autocomplete triggers as expected. However, I also update the QSearch box programmatically (it is an address search, so if I drop a map pin then the QSearch is populated with the address at the pin), which sometimes also triggers QAutocomplete. How can I update the QSearch value programmatically without triggering the QAutocomplete? I only want the QAutocomplete triggered when the user types directly into the QSearch.


Log in to reply