Skip to content

Commit

Permalink
feat: added submit on enter
Browse files Browse the repository at this point in the history
  • Loading branch information
JanssenBrm committed Jan 26, 2024
1 parent d41ff1a commit 94aec8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/login/login.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img alt="logo" src="assets/logo.png" height="100px"/>
<span>Vineyards</span>
</div>
<form [formGroup]="form" (submit)="login()">
<form [formGroup]="form" (submit)="login()" (keyup.enter)="login()">
<ion-item>
<ion-label position="stacked">Email</ion-label>
<ion-input type="email" formControlName="username"></ion-input>
Expand Down

0 comments on commit 94aec8b

Please sign in to comment.