Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
Simon Vieille | b48d8461c2 |
3613
frontend/package-lock.json
generated
3613
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -30,7 +30,8 @@
|
|||
<app-alert-message>Username or password is invalid!</app-alert-message>
|
||||
</app-alert>
|
||||
|
||||
<button type="submit" class="btn btn-primary float-right" [disabled]="!loginForm.valid">Login</button>
|
||||
<button type="submit" class="btn btn-primary float-right" [disabled]="!isValidForm()">Login</button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -44,4 +44,8 @@ export class LoginComponent implements OnInit {
|
|||
this.loginError = true;
|
||||
}
|
||||
}
|
||||
|
||||
public isValidForm() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue