sayhellotovanessa / angular-2-form-validation

Angular 2 Form Validation Demo App

Home Page:https://scotch.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 2 Form Validation

This is a demo app showing how you can create and validate forms with Angular 2. There are four different forms:

  1. Template Driven Form
  2. Model Driven (Reactive) Form
  3. Model Driven (Reactive) Form with Validation
  4. Login Form that integrates the Auth0 API

To get the Login Form to function properly, you will need to have an Auth0 account, you can sign up for a free Auth0 account here. Once you have an account go into the app.login.ts file and make the following edits:

  1. Replace YOUR-AUTH0-CLIENT-ID with your credentials
  2. Replace YOUR-AUTH0-DOMAIN with your Auth0 domain
  3. Replace YOUR-DATABASE-CONNECTION with whatever you name your username and database connection in the Auth0 Management Dashboard

Happy Coding!

About

Angular 2 Form Validation Demo App

https://scotch.io


Languages

Language:TypeScript 75.9%Language:HTML 14.5%Language:JavaScript 9.2%Language:CSS 0.4%