@releasium/ngx-grand-validator is a powerful and easy-to-use Angular library that simplifies the process of implementing reactive form validation in your Angular applications. With @releasium/ngx-grand-validator, developers can create models, and effortlessly add decorators to the model's fields for validation purposes. Say goodbye to writing extensive form validation logic by hand – let ngx-grand-validator handle it for you!
Simple Integration: Easily integrate @releasium/ngx-grand-validator into your Angular projects and get started with reactive form validation in no time.
Model-Based Validation: Define your data models using TypeScript classes and decorate the fields with validation decorators to describe the validation rules.
Schema validation. In case of complex form just create schema and work with reactive Forms
FormGroup Generation: Utilize the defined models to automatically generate Angular FormGroup
instances with all the specified validation rules applied.
Declaration working with FormGroup
, FormArray
, FormControl
as well
Built-in Validators: Choose from a variety of built-in validation decorators, such as @GV.required()
, @GV.minLength()
, @GV.maxLength()
, @GV.pattern()
, and more.
Custom Validation: Implement custom validation rules by creating your own validation decorators.
Error Messaging: Receive detailed error messages based on the defined validation rules to provide precise feedback to users.
Consistency and Maintainability: Centralize your validation logic within the models, making it easier to maintain and refactor in the future.
Install →