ng-xtend API documentation
    Preparing search index...

    Function attachToFormGroup

    • Attaches a value to a form group by creating either a FormControl or nested FormGroup based on the value type

      Parameters

      • formGroup: FormGroup

        The form group to attach to

      • controlName: string

        The control name within the form group

      • value: any

        The value to attach

      • OptionalvalueType: string

        Optional type identifier for type resolution

      • Optionalresolver: XtTypeResolver

        Optional type resolver for determining if the value is primitive

      Returns void