ANGULAR 15 :TYPES OF FORMS
Techie Ocean Techie Ocean
7.6K subscribers
42,721 views
338

 Published On Jun 5, 2019

In this tutorial, We will see Angular forms.
There are 2 types of Forms in Angular :
1. Reactive Forms
2.Template-Driven Forms

Depending upon the type of requirement, we have to chose Reactive forms or Template-driven forms.

The Reactive forms are more Robust and Scalable. The Formcontrol instances are created and are accessible in the component class.
So in case we need to have more control of the form through the component class then in that case we use reactive form.

The Template driven forms are less scalable. They are more made up of directives. We do not have complete control of the Form controls in the component class, since template driven forms are made up of directives. We generally use ngModel for data binding in Templatedriven forms.


#Angular #Angular 8 #Angular 10 #Angular 12 #Angular 13 #Angular 15

show more

Share/Embed