Reset form fields with conditional dropdown not working

Widgets & Design

Hi All,

So I have a conditional drop down ,(Example) a user chooses a country and then a city dropdown appears with the respective cities.

On initial load when you select a country the loading indicator appears and the drop down appears. Works great.

But if you now change the country, no loading indicator and if you click the city dropdown you'll see a list of cities from the previous input. If you wait a second or 2 before clicking the city dropdown the correct cities will appear. Not the best UI experience.

I thought the reset form fields would take care of this?

When you change the country it does nothing . I tried both "on selected" and "on data change".

What have you tried so far?

Searching the forum here. Tried different combinations in "on selected" and "on data change".

Tried removing search for the drop down.

Did you check FlutterFlow's Documentation for this topic?
Yes
3 replies