template Archives

Template-Driven Forms

Author - Webner
|
0 Comments
|

Introduction

Template-driven forms are the kind of forms in Angular. In Template Driven Forms, we specify validations using directives and attributes. In this approach, we define the template that we want to use in forms. So, this approach is called a template-driven approach. In other words Read more…

Reactive Form In Angular

Author - Monika Dhiman
|
0 Comments
|

In Angular there are two ways to work with forms:

Template-driven forms:

Template-driven forms are the default way to work with forms in Angular which is used as an internal representation of the form.

Reactive forms:

Reactive forms allow us to build Read more…