34
Views
1
Comments
Solved
Only on demand

Hello,

I want the city to be "select city" (the empty text I'm using for the city dropdown) when I unselect country (making it select country as in the image).

when I unselect a country only state is affected by this change.

FetchingDataOnDemandExercise.oml
Solution

I believe that now I realize that in the dropdown list's onchange events you need to update the variables and update the data.

You have an example module below,

FetchingDataOnDemandExercise_exemplo.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.