mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user