How to retain previously selected dialog value from the dynamic dropdown in authoring dialog
So my questions like I have created two filed in authoring dialog,
A - for country
B - for state
here in Country dropdown A is populating from json file through servlet and state dropdown B is populating based on the country selected in the dialog, through ajax it's fetch, have written servlet for that(state has another json file).
But while selecting the state like "xyz" and authoring the dialog,it's fine.
when I open the dialog again the state value is not showing in the dialog but i can able to see it's storing in the page path.
Could any one suggest to proceed further to retain state dropdown value.
