autofocus on first input (#834)

This commit is contained in:
Cilibiu Bogdan
2018-11-27 18:45:10 +00:00
committed by Denys Vuika
parent 925cb8144b
commit 6e0bfe8187
+2 -1
View File
@@ -6,11 +6,12 @@
<input
placeholder="{{ 'LIBRARY.DIALOG.FORM.NAME' | translate }}"
required
autofocus
matInput
formControlName="title"
autocomplete="off"
/>
<mat-hint *ngIf="libraryTitleExists">{{
'LIBRARY.HINTS.SITE_TITLE_EXISTS' | translate
}}</mat-hint>