mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
commit with extra wrapper component
This commit is contained in:
@@ -85,7 +85,7 @@ export abstract class FieldParser {
|
||||
|
||||
} else {
|
||||
const model = this.modelFactory(this.getInitFieldValue());
|
||||
if (model.hasLanguages || isNotEmpty(model.relationship)) {
|
||||
if (model.hasLanguages) {
|
||||
setLayout(model, 'grid', 'control', 'col');
|
||||
}
|
||||
return model;
|
||||
@@ -247,7 +247,6 @@ export abstract class FieldParser {
|
||||
{},
|
||||
controlModel.errorMessages,
|
||||
{ pattern: 'error.validation.pattern' });
|
||||
|
||||
}
|
||||
|
||||
protected markAsRequired(controlModel) {
|
||||
@@ -320,7 +319,6 @@ export abstract class FieldParser {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return modelConfig;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user