(js) Autofocus input field of prompt dialog
This commit is contained in:
parent
6dd5210cbf
commit
38fecebafd
|
@ -64,7 +64,7 @@
|
||||||
' <label>' + label + '</label>',
|
' <label>' + label + '</label>',
|
||||||
' <input type="' + (o.inputType || 'text') + '"',
|
' <input type="' + (o.inputType || 'text') + '"',
|
||||||
' aria-label="' + title + '"',
|
' aria-label="' + title + '"',
|
||||||
' ng-model="name" required="required"/>',
|
' ng-model="name" md-autofocus="true" required="required"/>',
|
||||||
' </md-input-container>',
|
' </md-input-container>',
|
||||||
' </md-dialog-content>',
|
' </md-dialog-content>',
|
||||||
' <md-dialog-actions>',
|
' <md-dialog-actions>',
|
||||||
|
|
Loading…
Reference in a new issue