Loading topic
FormControl, FormGroup), and what an RxJS Observable is. Here you will take apart a synchronous validator and see what each piece does.3 min readFormControl, FormGroup), and basic RxJS. It covers one rule: what a validator returns, and how Angular uses that value.3 min readFormControl, FormGroup). You should also have read the previous chapters on the validator function contract and on returning ValidationErrors or null. Here you wi2 min readFormControl and FormGroup. It also assumes you have written a validator function that returns ValidationErrors | null. Here you will connect those errors to the template, so users see a message when, and only when, it helps them.3 min readFormControl. It also assumes you know that a validator returns a ValidationErrors object or null. You should be comfortable with TypeScript closures and generics.3 min readFormControl, and read control state in a template. It builds on the validator contract: a function that receives a control and returns ValidationErrors or null.3 min readFormControl. It also assumes you know the basics of RxJS Observables: pipe, map, switchMap and subscription.3 min readFormControl or FormGroup, and read basic RxJS. It covers when validators run, what the PENDING status means, how updateOn changes timing, and how to force revalidation.4 min readngModel usage and that you use standalone components. You will wrap forbiddenNameValidator in a directive so it works with ngModel.2 min readFormControl and FormGroup. You also need to read a Jasmine or Jest test (describe, it, expect) and know the basics of RxJS Observable.3 min read