Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radioList has hardcoded HTML #246

Open
Renkas opened this issue Oct 29, 2018 · 0 comments
Open

radioList has hardcoded HTML #246

Renkas opened this issue Oct 29, 2018 · 0 comments
Labels
type:enhancement Enhancement

Comments

@Renkas
Copy link

Renkas commented Oct 29, 2018

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

@machour machour added the type:enhancement Enhancement label Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants