Skip to content

Commit 0612aaa

Browse files
medjedovicmallanbowe
authored andcommitted
feat: login on enter
1 parent 6fd1559 commit 0612aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/login-modal/login-modal.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<clr-modal [clrModalOpen]="true" clrModalSize="sm" [clrModalClosable]="false">
22
<h3 class="modal-title">Sign In</h3>
3-
<div style="min-height: 80px;" class="modal-body">
3+
<div style="min-height: 80px;" class="modal-body" (keydown.enter)="signIn()">
44
<input clrInput name="username" placeholder="User name" autocomplete="username" [(ngModel)]="userName" required />
55
<input clrInput type="password" placeholder="Password" name="password" autocomplete="current-password" [(ngModel)]="password" required />
66
</div>

0 commit comments

Comments
 (0)