Autocomplete question
Autocomplete question
I have two inputs, A and B, where I want to use autocomplete.
A is a normal autocomplete but I want B's autocomplete to depend on input A when it makes the query to the database for the candidate words.
For example, I want to search for matches between two teams. When I write into input A, the autocomplete shows all the teams. When I write into input B, I want autocomplete to show only the teams that played a match against the team written in A.
Is that possible?