<?= $form->field($userRole, 'userid', ['options' =>['class' => 'bigDiv'] ])->textInput(['placeholder'=> 'ccc', 'class'=> 'inputSelf', 'maxlength' => true, 'value' => $user->id]) ?>
---------------------
作者:carrousel0516
来源:CSDN
原文:https://blog.csdn.net/carrousel0516/article/details/79923656
yii2 表单输入框设置
猜你喜欢
转载自www.cnblogs.com/fpcing/p/10083967.html
今日推荐
周排行