Allow to enable multiple br_address_fields in the same form

Created on 29 September 2024, about 2 months ago

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.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇧🇷Brazil peduardo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024