Posts

Showing posts with the label reactive form

Complete Reactive Form Angular

Image
  In this tutorial we going to learn how to use angular reactive form in our angular application  reactive form is really amazing and has many feature and good code maintains approach and increase development work fast. How to import angular reactive form in our application  1. In app.module.ts file import reactive module in imports array of ngModule decorator. this will me reactive module available to your project if you have modular approach then import this on module level of specific feature Let's start create and example and start using reactive form  In this example we will coverup all necessary input fields in a web form and validations - input  - checkbox Demo Import the Reactive forms Module in angular app.module.ts import   {   ReactiveFormsModule   }   from   '@angular/forms' ; @ NgModule ( {    imports :  [      ReactiveFormsModule   ] , } ) export   class   AppModule ...