-
Notifications
You must be signed in to change notification settings - Fork 40
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
Why is there no Region dropdown option? #42
Comments
@lanrosta Main reason it the lack of time. Also for regions is a bit trickier because in order to get a region you need to select a country first and not all countries have regions in the DB. This means more php/js logic to be generated. |
@dev - This should be pretty easy to implement for you. All you need to do is create an option for dropdown that is called 'Country and Region'. Then if this is selected, generate this code for the admin form...
Note this creates three fields (an extra for state_province Text field for Countries with no State Province dropdown in Magento). Also note that the field names MUST be the same for each control! Then for the admin Listing page...
More info can be found here: See Petttro's answer here: https://magento.stackexchange.com/questions/134002/ui-component-form-state-region-field-update-after-country-select-m-2-1 |
I see there is an option to use the Country Dropdown, but I do not see one for the magento Regions. Any reason why devs?
The text was updated successfully, but these errors were encountered: