added dynamic login page
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||
import {IonicModule} from "@ionic/angular";
|
||||
|
||||
@Component({
|
||||
selector: 'app-sign-on-form',
|
||||
templateUrl: './sign-on-form.component.html',
|
||||
styleUrls: ['./sign-on-form.component.scss'],
|
||||
imports: [
|
||||
IonicModule,
|
||||
ReactiveFormsModule
|
||||
]
|
||||
})
|
||||
export class SignOnFormComponent {
|
||||
userForm: FormGroup = new FormGroup({
|
||||
firstName: new FormControl<string>(null, [Validators.required]),
|
||||
name: new FormControl<string>(null, [Validators.required]),
|
||||
username: new FormControl<string>(null, [Validators.required]),
|
||||
email: new FormControl<string>(null, [Validators.required]),
|
||||
password: new FormControl<string>(null, [Validators.required]),
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user