Angular reactive form custom validator with parameter

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

Комментарии • 15

  • @Shaker1978
    @Shaker1978 5 лет назад +1

    Well explained, straight forward on point, logical and understandable, no stupid unneccessary talking :) Thank you!

  • @Mirzly
    @Mirzly 5 лет назад

    This is one the best examples of closures I've ever seen. Thanks man!

  • @pulakchandra7084
    @pulakchandra7084 4 года назад +2

    We can use a global const variable in which we can assign the domain name . by which we dont have to change the name in the validationMessage also.

  • @belmiris1371
    @belmiris1371 6 лет назад

    Thank you, again!

  • @smartest497
    @smartest497 5 лет назад

    Hello Venkat sir,
    is there any link for the repository for code of these videos so that i can download code. i facing validation error.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  5 лет назад

      Hello Syed - Very sorry, I don't have source code in the form of a download. However, you can find the source code in Text format on our blog at the following link. Instead of typing everything by hand, you can copy and paste. Hope this helps to some extent.
      www.pragimtech.com/courses/angular-6-tutorial-for-beginners/

  • @kurakulaprasad7898
    @kurakulaprasad7898 6 лет назад

    Hi Sir, can you please explain datatable or grids to handle the data in angular 6

  • @microtech2448
    @microtech2448 6 лет назад

    Hi. I have a query. Is it prerequisite to learn angular 5 before learning angular 6?
    And nice videos as always :)

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  6 лет назад

      Hello - As you might already know, there is a massive difference between Angular JS 1 and Angular 2. If you know you will be working on AngularJS 1 applications, then I suggest learning Angular JS 1 as well. Here is the link to Angular JS 1 playlist.
      ruclips.net/p/PL6n9fhu94yhWKHkcL7RJmmXyxkuFB3KSl
      Angular JS 1 is obsolete. If you know you won't be supporting Angular JS 1 applications, I suggest start with Angular 2. There is no much difference between Angular 2, Angular 4, Angular 5 and Angular 6. The way we build angular applications using Angular 2, 4, 5 or 6 is very identical.
      The following video explains the difference between angular versions.
      ruclips.net/video/bAx2LgQLkl8/видео.html
      If you are starting to learn Angular, I suggest start with Angular 2 at the following link. We have discussed all the angular basics in this course. These basics are applicable for all angular versions 2 and above.
      ruclips.net/p/PL6n9fhu94yhWqGD8BuKuX-VTKqlNBj-m6
      And then Angular CRUD tutorial at the following link. This tutorial uses Angular 5 and covers all the concepts we were not able to cover in Angular 2 tutorial.
      ruclips.net/p/PL6n9fhu94yhXwcl3a6rIfAI7QmGYIkfK5
      I believe Angular CLI is a great tool to increase your productivity. So I suggest learn Angular CLI as well.
      ruclips.net/p/PL6n9fhu94yhWUcq5Pc16uf8YKXoZ87Vh_
      Finally start Angular 6. In this course we have covered important advanced angular concepts we were not able to cover in Angular 2 and Angular 5 playlists.
      ruclips.net/p/PL6n9fhu94yhWNJaDgh0mfae_9xoQ4E_Zj
      Hope you will find these resources useful to learn Angular.

  • @merajulhasan5586
    @merajulhasan5586 6 лет назад

    Sir, can you make me understand , even we are getting single parameter in outer fuction then inner how the second parameter control is accessible in the inner function. I mean we are just getting single parameter at outer function.

    • @FeatureNexus
      @FeatureNexus 5 лет назад

      When we are adding an element to validators array in form control, we actually pass a reference to all functions. Those functions must accept one parameter and it is the reference to a self form control. Self form control reference is being passed by angular framework, so you don't need to worry about it.

  • @andreiasw1
    @andreiasw1 4 года назад

    If you want to trigger this validator on demand and want the parameter to be dynamic it won't work, as the validator is taking only the first value of the parameter into consideration and does not look for changes.

  • @ameysaitavdekar4102
    @ameysaitavdekar4102 3 года назад

    Angular Reactive approach is so much bloated. In Template driven approach we just need to create a Directive implementing Validator Interface and add it in Template.