Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: selecting a new country doesn't clear the state/territory state #383

Closed
noisecapella opened this issue May 23, 2016 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@noisecapella
Copy link
Contributor

To reproduce: start with the state and country fields selected. Change the country field and you see the state field clear in the UI. However the redux state for the state field doesn't change until you interact with the state field, so it will pass validation despite being a state for a different country.

I think the solution is to create a boundCountrySelectField and specify the state field that's related to it. When a new country is selected, wipe the state for the state/territory field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants