Skip to content

Commit

Permalink
Double enter key trigger (#269)
Browse files Browse the repository at this point in the history
* TypeScript Fix

* Fix for Double Enter Trigger
  • Loading branch information
ptvrajsk authored Oct 23, 2019
1 parent 243b0aa commit 706fa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/auth/auth.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</mat-card-header>
<app-profiles (selectedProfileEmitter)="onProfileSelect($event)" (profileDataEmitter)="onProfilesMissing($event)"></app-profiles>
<mat-card-content>
<form [formGroup]="loginForm" #myForm="ngForm" (keyup.enter)="login(myForm)" (ngSubmit)="login(myForm)">
<form [formGroup]="loginForm" #myForm="ngForm" (ngSubmit)="login(myForm)">
<table class="table-form" cellspacing="0">
<tr>
<td>
Expand Down

0 comments on commit 706fa5e

Please sign in to comment.