workaround with autofill

This commit is contained in:
Simon Vieille 2020-07-21 19:02:44 +02:00
parent 28abbfa356
commit b48d8461c2
Signed by: deblan
GPG key ID: 03383D15A1D31745
3 changed files with 1817 additions and 1805 deletions

File diff suppressed because it is too large Load diff

View file

@ -30,9 +30,10 @@
<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>
</div>
</div>
</div>

View file

@ -44,4 +44,8 @@ export class LoginComponent implements OnInit {
this.loginError = true;
}
}
public isValidForm() {
return true;
}
}