wfw-ngx-formly
Version:
ngx-formly is an Angular 2 module which has a Components to help customize and render JavaScript/JSON configured forms. The formly-form Component and the FormlyConfig service are very powerful and bring unmatched maintainability to your application's form
16 lines (15 loc) • 541 B
TypeScript
import { FormGroup, AbstractControl } from '@angular/forms';
import { FormlyTemplateOptions, FormlyFieldConfig, FormlyFormOptions } from '../components/formly.field.config';
export declare abstract class Field {
form: FormGroup;
field: FormlyFieldConfig;
model: any;
options: FormlyFormOptions;
readonly key: string;
readonly formControl: AbstractControl;
readonly to: FormlyTemplateOptions;
readonly showError: boolean;
readonly id: string;
readonly formState: any;
onBeforePatchValue(): void;
}