Fill 2nd Combobox on valuechange of 1st combobox

Hi All,

Scenario: We have country and state 2 Combobox. By default we show one country and its states. On country combobox we have added ValueChangeListener and we fill the state combobox according to the country selected.

Issue: It works fine on general scenarios but if we keep the screen as it is for some time and try again changing the country then it will not get the states on UI side. On server side in valuechangelistener method the states are filling properly but on UI its not showing properly.

We intercepted request/response, we found that sometime the JSON object comes blank in response.

Has anyone has face this kind of issue? Any pointers would be helpful.

Thank you.