UNPKG

ngx-schema-forms

Version:

New features: - Ajv schema validator. - Angular forms compatible: Property tree is created using FormGroup, FormArray and FormControl classes. - Array now properly loads initial data from model. - WidgetTyep: WidgetRegistry now supports WidgetType, now wo

12 lines (11 loc) 262 B
import { ValidatorFn } from '@angular/forms'; export interface Field { name: string; required: boolean; getSchema(): any; getButtons(): any; getValidators(): { path: string; validators: ValidatorFn | ValidatorFn[]; }[]; }