Adding new project on enter

This commit is contained in:
Piotr Pekala
2019-02-27 02:06:52 -08:00
parent 66c87bd50c
commit bc7eda33b3
3 changed files with 16 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<mat-form-field class="file-name-form-field">
<input
matInput
(keydown)="onKeyDown($event)"
type="text"
formControlName="projectName"
[ngClass]="{ 'is-invalid': form.projectName?.errors }"