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 controls, along with utilities for building complex forms with nested groups and arrays. The library aims to enhance the development experience by providing a more structured and maintainable approach to form management in Angular applications.
Add the package to your workspace:
yarn add @rxap/forms
Install peer dependencies:
yarn add @angular/core @angular/forms @angular/router @rxap/definition @rxap/directives @rxap/pattern @rxap/reflect-metadata @rxap/rxjs @rxap/services @rxap/utilities @rxap/validator rxjs
Execute the init generator:
yarn nx g @rxap/forms:init
Initialize the package in the workspace
nx g @rxap/forms:init