Skip to content

Commit 9e41c99

Browse files
authored
Merge pull request #308 from ngageoint/access-code-hit-enter
authorization component now submits access code when user hits enter.
2 parents 814ef65 + 75d9295 commit 9e41c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-app/src/app/ingress/authorization/authorization.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div>
99
<mat-form-field appearance="fill">
1010
<mat-label>Access Code</mat-label>
11-
<input matInput placeholder="Access Code" type="deviceId" [formControl]="deviceId" required>
11+
<input matInput placeholder="Access Code" type="deviceId" [formControl]="deviceId" (keydown.enter)="authorize()" required>
1212
<mat-error *ngIf="deviceId.hasError('invalid')">Invalid access code</mat-error>
1313
</mat-form-field>
1414
</div>

0 commit comments

Comments
 (0)