when I select country and state then it display that's good

after that when I change tab preview to json or code
then states are unmount and got its initial position but the point is when click on submit then I got preview country and state

Previews country and state is not changes
when I select country and state then it display that's good
after that when I change tab preview to json or code
then states are unmount and got its initial position but the point is when click on submit then I got preview country and state
Previews country and state is not changes