1 import { ValidatorFn } from '@angular/forms';
3 export class CdFormModalFieldConfig {
5 // 'binary' will use cdDimlessBinary directive on input element
6 // 'select' will use select element
7 type: 'number' | 'text' | 'binary' | 'select';
11 errors?: { [errorName: string]: string };
12 validators: ValidatorFn[];
13 // only for type select