Steven0T
- Steven0T 赞了回答
这个里面你能学到很多东西
<?= $form->field($model, 'bus_type_res_id', ['template' => '{label}<div class="col-sm-8" style="display: inline-flex">{input}' . '{hint}{error}</div>', 'options' => ['class' => 'col_5']]) ->dropDownList(ArrayHelper::map($data['bus_type']['data'], 'res_id', 'res_name'), ['class' => 'form-control ', 'style' => 'width:172px;']) ?>
- Steven0T 回答了问题 dropDownList()
这个里面你能学到很多东西
<?= $form->field($model, 'bus_type_res_id', ['template' => '{label}<div class="col-sm-8" style="display: inline-flex">{input}' . '{hint}{error}</div>', 'options' => ['class' => 'col_5']]) ->dropDownList(ArrayHelper::map($data['bus_type']['data'], 'res_id', 'res_name'), ['class' => 'form-control ', 'style' => 'width:172px;']) ?>
自己重新写一个啊
- Steven0T 2017-11-01 已签到连续签到1天,获得了5个金钱
- Steven0T 2017-10-30 已签到连续签到1天,获得了5个金钱