I have 2 dropdown search one is for countries and other is for states. When a country is selected, the belonging states will appear in other dropdown search. At first i am selecting some states belonging to one country and after that when i selecting the country the values are disappearing.
Suppose LA, California, NYC are states that iam selected first and in the country i selected USA. Here states are disappearing from the dropdown.
How can we achieve this?
Hello
You can refer to the Solution hope it might help
https://www.outsystems.com/forums/discussion/82888/how-to-do-cascade-drop-down-search/
Thanks & RegardsTousif Khan
Hi Tousif,
My question is i am first selecting states and then the country, but states are missing as we are refreshing the states aggregate based on country. I want states not to be missed as USA contains those states.
Hi Nihaal,
I think problem is mapping in your data please check is there proper coutryId in these state table.
I think CountryId is different from USA in these states.
Thanks,
Gaurav Rawat
Hi,
Attached an oml that might help you.
Cheers
you change the state fetch property to at start and remove the refresh aggregate to country client action or if you want to fetch country according to state so apply same rule that you apply in state aggerate and country client action.