NgModel Angular and ngModelChange - One and Two Way Data Binding

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

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

  • @MonsterlessonsAcademy
    @MonsterlessonsAcademy  Месяц назад

    WATCH NEXT: Angular Interview Questions and Answers - Dominate Your Next Interview - ruclips.net/video/5A_YKlVWMPo/видео.htmlsi=2DCn7yspEAAJ2H6l

  • @nadirlahmadi3170
    @nadirlahmadi3170 Год назад

    This is the best RUclips channel on Angular.

  • @valikonen
    @valikonen Год назад +1

    Thanks! Please make a deep tutorial with custom directives!

  • @edwinpang378
    @edwinpang378 Год назад

    appreciated it, very informative.. would like to know more about Angular ViewChild, ElementRef is possible..

  • @redihoxhaj2931
    @redihoxhaj2931 8 месяцев назад

    I have imported Forms module but I still get an error "Can't bind to 'ngModel' since it isn't a known property of 'input' ". Do you know how to solve this?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  8 месяцев назад

      Importing FormsModule should be enough. You can download source code and compare it with your code

  • @OasisCherryjuice182
    @OasisCherryjuice182 10 месяцев назад

    How would I do this with Angular 17? Seems like this tutorial is out of date, since forms.module.ts doesn't exist by default anymore

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  10 месяцев назад +1

      There are no changes regarding forms in Angular 17. You need to import
      import { FormsModule } from '@angular/forms'; to either your module or component

    • @siralone3646
      @siralone3646 8 месяцев назад

      you import the stuff in the standalone module where you need it and it will work.

  • @karthikeyan878
    @karthikeyan878 Год назад

    How to avoid prop drilling in angular?
    Is it okay to use output emitter two times if components nested like below ?
    g.parent comp -> parent comp -> child comp
    I don't want to use service in my child component because it is a presentation component.