Filtered by: tags=REST

Reflecting server errors in Angular form validation

Feb. 12, 2020 |  ionic  REST  validation  angular 
Here's some sample code that shows how to display server validation errors sent by a django-restframework REST server. Specifically, note how `ngIf` & `ngFor` tags are used to conditionally detect and display error messages set on individual controls. The