Problem/Motivation
When you add more than 1 br_address_field to the same form, it gets lost when it returns the ZIP code results, because the form is replaced (always the first one),
i.e,
when you have 2 br_address_fields in the same form and change the second one, the return changes the first br_address_field completely and ignores the second one completely.
Steps to reproduce
Add two br_address_field and the same form and add the cep to second one.
Proposed resolution
Instead replace the entire br_address_field group, I've used the ajax InvokeCommand to only fill the fields and
based on parent field that trigger it.
| Comment | File | Size | Author |
|---|---|---|---|
| multiple_in_same_form.patch | 5.68 KB | pablorigueto |
Issue fork br_address_field-3477617
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3477617-allow-to-enable
changes, plain diff MR !9
Comments
Comment #6
bmagalhaes commentedComment #7
bmagalhaes commented