workaround with autofill
This commit is contained in:
parent
28abbfa356
commit
b48d8461c2
3613
frontend/package-lock.json
generated
3613
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -30,9 +30,10 @@
|
||||||
<app-alert-message>Username or password is invalid!</app-alert-message>
|
<app-alert-message>Username or password is invalid!</app-alert-message>
|
||||||
</app-alert>
|
</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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -44,4 +44,8 @@ export class LoginComponent implements OnInit {
|
||||||
this.loginError = true;
|
this.loginError = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public isValidForm() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue