Skip to content

This is a wrapper for the FormGroup class, which has the following advantages over the usual FormGroup.

Notifications You must be signed in to change notification settings

if1t/form-group-wrapper

Repository files navigation

FormGroupWrapper

Description

Hello everyone!

This is a wrapper for the FormGroup class, which has the following advantages over the usual FormGroup.

Advantages

  1. Allows you to fill in the properties of the FormArray type nested in the formGroup via the methods setValue(), patchValue().
  2. Has a typed getDirtyValues() method, which works almost like a regular getRawValue(), only instead of returning all values, the getDirtyValues() method returns the values ​​of only those fields that have been changed (marked as dirty).

About project

node -v - v21.7.3

yarn -v - 1.22.22

This project was generated with Angular CLI version 18.1.2.

Karma tests

Run ng test to execute the unit tests via Karma.

About

This is a wrapper for the FormGroup class, which has the following advantages over the usual FormGroup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published