This repository is a base for a course about angular dynamic forms. It is based on the following starter template: https://github.com/abariatti/angular-material-starter
- Small forms
- Simple logic
- Asynchronous
- Hard to test
- Validation is template based through existing validator
- Add validation programmatically in component with existing validators (https://angular.io/api/forms/Validators)
- Custom validator possible but more complicated through directive
- Bigger forms
- More logic
- More structure
- Synchronous
- Easy to test
- Structure: FormControl, FormGroup, FormArray
Setup dynamic forms
Added custom validation
...