1.0.1 • Published 9 months ago
form-error-helper v1.0.1
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));