Autofocus on username field
Useful UX improvement
This commit is contained in:
parent
0970b6fdad
commit
7cf2418d88
@ -24,7 +24,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
],
|
||||
]); ?>
|
||||
|
||||
<?= $form->field($model, 'username') ?>
|
||||
<?= $form->field($model, 'username')->textInput(['autofocus' => 'autofocus']) ?>
|
||||
|
||||
<?= $form->field($model, 'password')->passwordInput() ?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user