Dependent dropdown for country and state. Once we change country I set new store to state and first time it works properly. But from second time its not clearing out old value also first it not preselected. On third change of country I cant see anything in selectfield as its selected but when I click and it open dropdown shows value is selected. If I select it again then selection value changes but not display.

To demostrate more I have prepared example https://fiddle.sencha.com/#view/editor&fiddle/28vv. Below are the 3 issues around it.

  1. Change country first and you can see state is loaded but value which is displaying is wrong also first value is not selected.
  2. Change value in state and change value of country now state value is blank although new value you can see in dropdown.
  3. If you select any value in state once its blank its value is selected but display is not updated shows always blank.