UNPKG

@rxap/forms

Version:

This package provides a set of tools and directives to simplify working with Angular forms, including reactive forms, custom validators, and form directives for handling loading, submitting, and error states. It offers decorators for defining forms and co

17 lines (16 loc) 981 B
import { ControlContainer, FormGroupName } from '@angular/forms'; import { RxapFormGroup } from '../form-group'; import * as i0 from "@angular/core"; /** * A full exertion of FormGroupName from @angular/forms. The only change is the * ability to access the control container outside of the current component * * @deprecated use the ParentControlContainerDirective */ export declare class FormGroupNameDirective extends FormGroupName { name: string | number | null; get control(): RxapFormGroup; constructor(parent: ControlContainer, validators: any[], asyncValidators: any[]); static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupNameDirective, [{ optional: true; skipSelf: true; }, { optional: true; self: true; }, { optional: true; self: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<FormGroupNameDirective, "[rxapFormGroupName]", ["rxapFormGroup"], { "name": { "alias": "rxapFormGroupName"; "required": false; }; }, {}, never, never, true, never>; }