maninderkalra / angular Goto Github PK
View Code? Open in Web Editor NEWThis is a quick example of how to setup form validation in Angular 9 using Template and Reactive Forms. The example is a simple form with pretty standard fields for name, email, password. All fields are required, the email address must be in a valid format. I've setup the form to validate on submit disable, as soon as each field is changed, this is implemented with a disable and valid property in the html form. Styling of the example is all done with Bootstrap 4.4 CSS, for more info about Bootstrap see bootstrap site.