💥 Angular Model Driven Forms (or Reactive) - formGroup and formControlName

preview_player
Показать описание

In this tutorial we are going to learn what are are model driven or reactive Angular Forms and how can we use them, we will cover the reactive form directives formGroup and formControlName in detail. We are going to learn some of the main differences towards template driven forms, and learn how to create forms and form controls programmatically instead of declaratively via the form template.

We are going to cover the FormGroup and FormControl Angular classes, and how can use them to declare a form and its controls, and how to define a form control initial value and validation rules. We are going to see how to bind a control created programmatically with a form field by using the reactive form directives formGroup and formControlName.

Follow us:

Рекомендации по теме
Комментарии
Автор

Sir, I am new in Angular and I want to use drag and drop form builder like bootstrap form builder, please help me as soon as possible

manojgp
Автор

thank you for this nice video
i need to know what if i have input with type of file !
so i need to handle it and send with my form that contain another data lets say name and age with image
maybe in json post
so what is the best way to do that ?
and can you do a short video for this ?
i searched for alot time
and i didn`t find any thing helpfull ?!
every form is just text or check box
no one have tried to do this tut ? !

odaiderawi
Автор

I need read JSON file. How can I do it ???

nilupulheshan