项目作者: ashfaqch

项目描述 :
Angular form trigger validation on all fields when click the submit button
高级语言: TypeScript
项目地址: git://github.com/ashfaqch/angular5-form-validation-example.git


Angular5 form validation example

In this example i have demonstrated the form validation using template-driven or reactive.

dependency Status
devDependency Status

Demo

Build & Run

  1. Run npm install to install packages
  2. Run ng serve and navigate to http://localhost:4200/

Features

  • Template-driven Form validation example

  • Reactive Form validation example

  • Custom validators example

  • form trigger validation on all fields when click the submit button