Angular custom validator example template driven forms

Published: 27 February 2018
on channel: kudvenkat
40,758
246

In this video, we will discuss creating a custom validator in angular with an example. We will make this validator reusable and configurable. Along the way, we will also learn how to create a custom directive in angular.

Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.
   / @aarvikitchen5572  

To use a custom validator in template driven forms, we create the validator as a directive. Once we have the directive created, we can then use that directive as an attribute on the select element that we want to validate. This is going to be a configurable and reusable validator. We can use it with any SELECT list in an angular application.

In this video, we will discuss creating a custom validator in angular with an example. We will make this validator reusable and configurable. Along the way, we will also learn how to create a custom directive in angular.

To use a custom validator in template driven forms, we create the validator as a directive. Once we have the directive created, we can then use that directive as an attribute on the select element that we want to validate. This is going to be a configurable and reusable validator. We can use it with any SELECT list in an angular application.

Text version of the video
http://csharp-video-tutorials.blogspo...

Slides
http://csharp-video-tutorials.blogspo...

Angular CRUD Tutorial
   • What is Angular CLI  

Angular CRUD Tutorial Text Articles & Slides
http://csharp-video-tutorials.blogspo...

All Dot Net and SQL Server Tutorials in English
https://www.youtube.com/user/kudvenka...

All Dot Net and SQL Server Tutorials in Arabic
   / kudvenkatarabic  


On this page of the site you can watch the video online Angular custom validator example template driven forms with a duration of hours minute second in good quality, which was uploaded by the user kudvenkat 27 February 2018, share the link with friends and acquaintances, this video has already been watched 40,758 times on youtube and it was liked by 246 viewers. Enjoy your viewing!