mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Merge branch 'fix_add_multiple_pick_address_type_in_collection' into 'master'
fix when adding multiple pick address type form in a collection See merge request Chill-Projet/chill-bundles!216
This commit is contained in:
commit
a1125cfd3a
@ -11,6 +11,8 @@ and this project adheres to
|
|||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
<!-- write down unreleased development here -->
|
<!-- write down unreleased development here -->
|
||||||
|
* [main] fix adding multiple AddresseDeRelais (combine PickAddressType with ChillCollection)
|
||||||
|
|
||||||
* unnecessary whitespace removed from person banner after person-id + double parentheses removed (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/290)
|
* unnecessary whitespace removed from person banner after person-id + double parentheses removed (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/290)
|
||||||
* [person]: delete accompanying period work, including related objects (cascade) (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/36)
|
* [person]: delete accompanying period work, including related objects (cascade) (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/36)
|
||||||
* [address]: Display of incomplete address adjusted.
|
* [address]: Display of incomplete address adjusted.
|
||||||
|
@ -6,12 +6,12 @@ import App from './App.vue';
|
|||||||
const i18n = _createI18n(addressMessages);
|
const i18n = _createI18n(addressMessages);
|
||||||
|
|
||||||
const addAddressInput = (inputs) => {
|
const addAddressInput = (inputs) => {
|
||||||
|
console.log(inputs)
|
||||||
inputs.forEach(el => {
|
inputs.forEach(el => {
|
||||||
let
|
let
|
||||||
addressId = el.value,
|
addressId = el.value,
|
||||||
uniqid = el.dataset.inputAddress,
|
uniqid = el.dataset.inputAddress,
|
||||||
container = document.querySelector('div[data-input-address-container="' + uniqid + '"]'),
|
container = el.parentNode.querySelector('div[data-input-address-container="' + uniqid + '"]'),
|
||||||
isEdit = addressId !== '',
|
isEdit = addressId !== '',
|
||||||
addressIdInt = addressId !== '' ? parseInt(addressId) : null
|
addressIdInt = addressId !== '' ? parseInt(addressId) : null
|
||||||
;
|
;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user