Skip to content

Commit

Permalink
Merge pull request DSpace#2434 from alexandrevryghem/w2p-105221_fix-v…
Browse files Browse the repository at this point in the history
…alue-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
  • Loading branch information
alanorth authored Aug 25, 2023
2 parents 4fea34c + a426eba commit 25febb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25febb1

Please sign in to comment.