Skip to content

radioList has hardcoded HTML #246

@Renkas

Description

@Renkas

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: b99473f

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions