A simple approach to displaying form validation messages in Angular

Channel:
Subscribers:
81,900
Published on ● Video Link: https://www.youtube.com/watch?v=ctXcCRl-zCw



Category:
Tutorial
Duration: 8:53
11,427 views
485


In this video, we take a look at how to display form validation error messages to the user in a way that is simple to implement, doesn't rely on any 3rd party dependencies, and doesn't compromise on UX.

We also walk through how the FormGroupDirective is used by Angular to hook into the standard form DOM element.

Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076

Learn Angular with Ionic: https://ionicstart.com

ngx-errors: https://github.com/ngspot/ngx-errors

0:00 Introduction
0:44 How the validations should work
2:02 The form validators
2:37 Update on blur
3:10 Showing validation messages
6:45 Handling the custom validator
7:49 Conclusion

#ionic #angular

- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony







Tags:
ionic
tutorial
tutorials
ionic tutorials
ionic framework
coding
coding tutorials
angular
angular tutorials
capacitor tutorials
mobile
mobile apps
apps
html5
ios
android
native
hybrid
pwa
web apps
progressive web applications
programming
stenciljs
stencil
performance
ui
ux
animations
screencast
rxjs
nx
ngrx
architecture