/angular8-reactive-forms

Create an Angular 8 Reactive form with Angular Material forms - We'll be using Angular 8 ReactiveFormsModule API to build and validate Reactive forms.

Primary LanguageTypeScript

Reactive Forms & MAT Chips Validation

Implementing Chips Component and Validation within a Reactive Form. Angular doesn't provide standard array based form field validation. This example demonstrates adding custom validators to the chips array values within a Reactive Form. (See)[https://www.dev6.com/angular/angular-material-chips-with-reactive-forms-and-custom-validation/]

Installation

Run npm install to install all the required dependencies

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.# angular8-reactive-forms