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 94aec8b commit 4553257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/register/register.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)="register()">
<form [formGroup]="form" (submit)="register()" (keyup.enter)="register()">
<ion-item>
<ion-label position="stacked">Email</ion-label>
<ion-input type="text" formControlName="username"></ion-input>
Expand Down

0 comments on commit 4553257

Please sign in to comment.