mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge pull request #4237 from DSpace/backport-4167-to-dspace-7_x
[Port dspace-7_x] Fix unable to remove data from a submission form field of type "name"
This commit is contained in:
@@ -403,7 +403,7 @@ export class SectionFormOperationsService {
|
||||
);
|
||||
}
|
||||
}
|
||||
} else if (!value.hasValue()) {
|
||||
} else if (isNotEmpty(value) && !value.hasValue()) {
|
||||
// New value is empty, so dispatch a remove operation
|
||||
if (this.getArrayIndexFromEvent(event) === 0) {
|
||||
this.operationsBuilder.remove(pathCombiner.getPath(segmentedPath));
|
||||
|
Reference in New Issue
Block a user