|
@@ -26,7 +26,6 @@
|
|
|
import { FormBuilder, FormGroup, FormArray, FormControl, AbstractControl, AbstractControlOptions } from '@angular/forms';
|
|
|
import { cloneDeep, omit, reduce } from 'lodash/fp';
|
|
|
import * as fmdModels from '../models/field.model';
|
|
|
-import { meta } from '@mock/testfields.v15';
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
@@ -427,9 +426,7 @@ const buildFormGroupFunctionFactory = (fb: FormBuilder): (meta) => FormGroup =>
|
|
|
if (!metaFoG || !(metaFoG.validators || metaFoG.asyncValidators)) {
|
|
|
return undefined;
|
|
|
}
|
|
|
- console.log(metaFoG);
|
|
|
const res = buildValidators(metaFoG);
|
|
|
- console.log(res);
|
|
|
return res;
|
|
|
}
|
|
|
|