prithwiraj06 / Angular-ReactiveForm-Basic

In this project i have used reactive form. i have used form builder to to create form group and form control. I have also used built in validators like required, min length etc. Also i have used custom validator. In this project i have used setValidator and clearValidator for dynamically adding validator. I have also used cross field validation for checking whether email and confirm email are equal or not

Repository from Github https://github.comprithwiraj06/Angular-ReactiveForm-BasicRepository from Github https://github.comprithwiraj06/Angular-ReactiveForm-Basic

Angular6Project

This project was generated with Angular CLI version 6.2.7.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

In this project i have used reactive form. i have used form builder to to create form group and form control. I have also used built in validators like required, min length etc. Also i have used custom validator. In this project i have used setValidator and clearValidator for dynamically adding validator. I have also used cross field validation for checking whether email and confirm email are equal or not


Languages

Language:TypeScript 64.3%Language:HTML 27.7%Language:JavaScript 7.7%Language:CSS 0.4%