Hi Everyone,
I try to set a yii\widgets\MaskedInput Field in activeForm to be readonly, but still no luck.
<?= $form->field($model, 'netto')->widget(\yii\widgets\MaskedInput::className(),
[
'clientOptions' => [
'alias' => 'numeric',
'groupSeparator' => ',',
'digits' => 0,
'autoGroup' => true,
'removeMaskOnSubmit' => true,
'rightAlign' => false,
]
]) ?>
Please advice. Thanks before