This is a demo app showing how you can create and validate forms with Angular 2. There are four different forms:
- Template Driven Form
- Model Driven (Reactive) Form
- Model Driven (Reactive) Form with Validation
- 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:
- Replace
YOUR-AUTH0-CLIENT-ID
with your credentials - Replace
YOUR-AUTH0-DOMAIN
with your Auth0 domain - Replace
YOUR-DATABASE-CONNECTION
with whatever you name your username and database connection in the Auth0 Management Dashboard
Happy Coding!