form-error-helper
v1.0.1
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.2.0.
Downloads
12
Maintainers
Readme
FormErrorHelper
This library was generated with Angular CLI version 18.2.0.
This allows to get the error of a FormGroup
instance recursively (useful for debugging).
Install
Run npm i form-error-helper --save-dev
to get the package.
Use
You can use the FormErrorHelperService
by using dependency injection into a component, and then call, for example,
console.log(this.formErrorHelperService.errors(this.formGroupInstance));