Hi.
In Yii 1.1.15, I can use autocomplete
option like this:
= CHtml::passwordField('username', '',
array('id'=>'idTextField',
'width'=>100,
'tabindex'=>2,
'autocomplete'=>'off',
)); ?>
How can I use it in Yii2 fields?
Best.
okay I found solution in yii\bootstrap\ActiveField file.
= $form->field($model, 'username', [
'inputOptions' => [
'autocomplete' => 'off',
]]
); ?>
It does not work on Chrome.
Most helpful comment
It does not work on Chrome.