focus first input element in dialogs
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div mat-dialog-content>
|
||||
<mat-form-field appearance="fill">
|
||||
<mat-label>Name</mat-label>
|
||||
<input matInput [(ngModel)]="data.name">
|
||||
<input matInput [(ngModel)]="data.name" #name>
|
||||
</mat-form-field>
|
||||
<mat-form-field appearance="fill">
|
||||
<mat-label>Description</mat-label>
|
||||
|
||||
Reference in New Issue
Block a user