Open canberranet opened 6 years ago
need to use the form formModel.hasError('minlength', ['title'])
I'll take a look, thanks. Meanwhile, take a look at the validator samples in the 2nd edition of this book. They're in chapter 11 at https://github.com/Farata/angulartypescript.
the validation seems to be working, the form and fields get the ng-valid and ng-invalid class applied. However the has-error never gets applied and [class.hidden]="!formModel.hasError(...)" is not working either