cleaned code
This commit is contained in:
+4
-4
@@ -3,15 +3,15 @@ import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/
|
||||
import {IonicModule} from "@ionic/angular";
|
||||
|
||||
@Component({
|
||||
selector: 'app-login-form',
|
||||
templateUrl: './login-form.component.html',
|
||||
styleUrls: ['./login-form.component.scss'],
|
||||
selector: 'app-sign-in-form',
|
||||
templateUrl: './sign-in-form.component.html',
|
||||
styleUrls: ['./sign-in-form.component.scss'],
|
||||
imports: [
|
||||
ReactiveFormsModule,
|
||||
IonicModule
|
||||
]
|
||||
})
|
||||
export class LoginFormComponent {
|
||||
export class SignInFormComponent {
|
||||
|
||||
loginForm: FormGroup = new FormGroup({
|
||||
username: new FormControl<string>(null, [Validators.required]),
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Component } from '@angular/core';
|
||||
import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||
import {IonicModule} from "@ionic/angular";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user