FIX: prevents debouncing and query to override each other (PR #11704)

Before this change we were setting the input after the query has been done, resulting in us overwriting the input if the user types during the query. We don’t need to update it after the query, we just need to ensure it’s set when we load the page and then it should stay in sync.

GitHub