-
Notifications
You must be signed in to change notification settings - Fork 4
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
Form integration and js API #1
Labels
Comments
I have a simple implementation working, where the region field gets updated when you select a country. There are still a number of issues to deal with however:
Introduced in 73dff61 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This module should provide some useful forms / fields for making use of this module.
When country changes, an ajax call is made to the server to get states. If response is empty, then state is a text field, otherwise it is a dropdown field.
Note that this enforces the use of javascript. A form-only approach would require 'set' and 'update' buttons next to fields, which would refresh the page. Probably too difficult to achieve nicely.
The text was updated successfully, but these errors were encountered: