Merge pull request #2434 from alexandrevryghem/w2p-105221_fix-value-pair-ids-not-being-unique-input-type-list_contribute-7.6

Input type list doesn't work correctly if multiple value-pairs have the same pair value
This commit is contained in:
Alan Orth
2023-08-25 09:16:58 +03:00
committed by GitHub

View File

@@ -130,7 +130,7 @@ export class DsDynamicListComponent extends DynamicFormControlComponent implemen
(v) => v.value === option.value));
const item: ListItem = {
id: value,
id: `${this.model.id}_${value}`,
label: option.display,
value: checked,
index: key