Posts

Showing posts with the label Types of Angular Form

Angular Forms

Image
In Previous topic we have learnt about Angular Pipes , in this article we will learn about angular form and subsequent topics. What is Angular Forms ?  Forms are integral part of any application or you can say that forms are the building blocks of any application. You can use forms to collect data from User. We can say Angular Form module consist of three building blocks: a. Form Control ➢ In Angular, Form Control are the classes that can hold both data and validation information of any element in form. FormControl extends the AbstractControl class, which enable it to access the values, validation status, events, etc. b. Form Group ➢ In Angular, Form Group is a collection of  FormControl. FormGroup is used with FormControl to track the value and validate the state of  FormControl .  FormGroup  aggregates the value of each child  FormControl  into a single object using each control name as key. If one control in a group is invalid, the entire group i...