jueze 2015-12-14 17:22:53 2293次浏览 1条回复 0 0 0

<?=$form->field($UserRoleForm,'RoleId')->checkboxList($roles,['separator'=>'   '],['style'=>'height:100px;width:95%;padding-top:10px;'],['template'=>"{label}{input}{error}"]); ?> 想把此checkboxList里的选项实现分组

  • 回复于 2015-12-15 14:22 举报

    如果不想去看源码的实现,可以考虑继承然后重写

    1 条回复
    回复于 2015-12-15 22:03 回复

    怎么重写呢?有相关的教程么

您需要登录后才可以回复。登录 | 立即注册