2
Hello, good morning, good morning! I am beginner in the area and would like to (if possible) help to resolve an issue.
The user will have a field to select the cities, when selecting, the system will capture the chosen city and will make a query to a database to associate to a certain ID.
It turns out that when it selects one of the city options today, the system lists all possible cities and all other states.
I would like it to enter the array, make a validation of UF == es and then present only the chosen city with the validated UF (refine the options).
Edit your post include code in text form.
– Caique Romero