mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
105265: Made the DsDynamicListComponent's checkbox & radio buttons ids unique for each metadata field to prevent other value-pairs having the same id
This commit is contained in:
@@ -128,7 +128,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