19.0.6 • Published 6 months ago
ng-form-validator-builder v19.0.6
Validation Builder
Built with one purpose - Make Reactive form validation in Angular easier to use.
- Validation Builder
- Getting started
- Combining Validators
- How it works behind the scenes
- Extending validators
Getting started
Take a look at the live demo to play around with the validators
Install the library
npm i ng-form-validator-builder
Start using the validators
You can add validators using the formBuilder to create a form:
const nextWeek: Date = new Date();
nextWeek.setDate(new Date().getDate() + 7);
const form = new FormBuilder().group({
someDate: [new Date(), DateValidator.isBefore(nextWeek),
anotherDate: [new Date(), DateValidator.isBefore(nextWeek, 'With a custom error message'),
});
Combining Validators
TODO: Add documentation here
How it works behind the scenes
TODO: Add documentation on how the validators work with the builders.
Extending validators
TODO: Add documentation on extending validation builders to create custom validators and extend on existing validators.
13.4.0
6 months ago
14.2.13
6 months ago
19.0.6
6 months ago
16.2.16
6 months ago
12.2.18
6 months ago
17.3.11
6 months ago
15.2.11
6 months ago
11.2.20
6 months ago
18.2.12
6 months ago
10.1.8
1 year ago
10.1.9
2 years ago
10.1.11
2 years ago
10.1.5
4 years ago
10.1.7
4 years ago
0.0.11
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.5
5 years ago
0.0.3
5 years ago
0.0.4
5 years ago
0.0.1
5 years ago