Jelajahi Sumber

HTML5 shorthand for attribute value

MaximAL 10 tahun lalu
induk
melakukan
4b2e0713e3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      views/site/login.php

+ 1 - 1
views/site/login.php

@@ -24,7 +24,7 @@ $this->params['breadcrumbs'][] = $this->title;
         ],
     ]); ?>
 
-        <?= $form->field($model, 'username')->textInput(['autofocus' => 'autofocus']) ?>
+        <?= $form->field($model, 'username')->textInput(['autofocus' => true]) ?>
 
         <?= $form->field($model, 'password')->passwordInput() ?>