kwikid-forms
Version:
KwikID's JSON Configuration based Forms Renderer and Builder
11 lines (10 loc) • 414 B
TypeScript
import { FormArray, FormGroup, ValidatorFn } from "@angular/forms";
export declare function NoWhitespacesValidator(): ValidatorFn;
export declare class FormValidation {
getFormFieldValidators(field: any): any[];
getFormFieldsValidationErrors(formGroup: FormGroup): {
name: string;
value: string;
}[];
getFormFieldsInvalidControls(formToInvestigate: FormGroup | FormArray): any[];
}