I want to use yii\bootstrap\Html to extend my UI helper. But there's now a problem with radioList.
It wraps every item in <div class="radio">. That's not correct. There's also a case where you need to use .radio-inline class or no class/wrapper at all like in my case.
I currently can't see an easy way to unset/change this. I could write a closure that mimics functionality in yii\helpers\BaseHtml but that does not seem like an elegant solution.
I want to use
yii\bootstrap\Html
to extend my UI helper. But there's now a problem with radioList.It wraps every item in
<div class="radio">
. That's not correct. There's also a case where you need to use.radio-inline
class or no class/wrapper at all like in my case.I currently can't see an easy way to unset/change this. I could write a closure that mimics functionality in
yii\helpers\BaseHtml
but that does not seem like an elegant solution.This was changed in: https://github.com/yiisoft/yii2-bootstrap/commit/b99473f9685181409c1b06517bc6cc7acfebf268