mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
[TLC-254] tidy up imports, regexes, mock data
This commit is contained in:
@@ -73,7 +73,7 @@ export class FormBuilderService extends DynamicFormService {
|
||||
this.formModels = new Map();
|
||||
this.formGroups = new Map();
|
||||
// Replace . with _ in configured type field here, to make configuration more simple and user-friendly
|
||||
this.typeField = environment.submission.typeBind.field.replace('\.', '_');
|
||||
this.typeField = environment.submission.typeBind.field.replace(/\./g, '_');
|
||||
}
|
||||
|
||||
createDynamicFormControlEvent(control: FormControl, group: FormGroup, model: DynamicFormControlModel, type: string): DynamicFormControlEvent {
|
||||
|
Reference in New Issue
Block a user