I want to hide whatever user types in field wpc_crewid
. I've tried with passwordInput like below -
<?= $form->field($modelsProductsales, "[{$i}]wpc_crewid")->label(false)->passwordInput(['maxlength' => true,'autofocus' => 'autofocus','placeholder' => 'Crew ID No','autocomplete' => 'off','class' => 'crewid']) ?>
This is working, but it is showing a dropdown whenever user puts cursor on this field. I don't want this dropdown to appear.
Please let me know the workaround.