diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-04-02 13:52:28 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-04-02 13:52:28 -0400 |
commit | 430bd8d3d13f3716160889d6f18fcb2cd08fcf39 (patch) | |
tree | fef11d400f0f9910d338a1bee74947cae914c8ab /ufund-ui/src | |
parent | f14d070155a6927d544a908545c648c402948fea (diff) | |
download | JellySolutions-430bd8d3d13f3716160889d6f18fcb2cd08fcf39.tar.gz JellySolutions-430bd8d3d13f3716160889d6f18fcb2cd08fcf39.tar.bz2 JellySolutions-430bd8d3d13f3716160889d6f18fcb2cd08fcf39.zip |
Make enter on login work
Diffstat (limited to 'ufund-ui/src')
-rw-r--r-- | ufund-ui/src/app/components/login/login.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/login/login.component.html b/ufund-ui/src/app/components/login/login.component.html index c67b903..1017d0f 100644 --- a/ufund-ui/src/app/components/login/login.component.html +++ b/ufund-ui/src/app/components/login/login.component.html @@ -1,7 +1,7 @@ <div id="box"> <h1>Login</h1> - <input placeholder="Username" type="text" #username> - <input placeholder="Password" type="password" #password> + <input placeholder="Username" type="text" #username (keydown.enter)="login(username.value, password.value)"> + <input placeholder="Password" type="password" #password (keydown.enter)="login(username.value, password.value)"> <button type="button" (click)="login(username.value, password.value)">Login</button> <div> New? <a routerLink="/signup">Create an account</a> |