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

TbFormInputElement ignoring widgetOptions and label #1012

Open
vercotux opened this issue Mar 8, 2015 · 2 comments
Open

TbFormInputElement ignoring widgetOptions and label #1012

vercotux opened this issue Mar 8, 2015 · 2 comments

Comments

@vercotux
Copy link
Contributor

vercotux commented Mar 8, 2015

The cause is here: https://github.com/clevertech/YiiBooster/blob/master/src/widgets/TbFormInputElement.php#L158

'widgetOptions' and 'label' should be separate strings, yet they are concatinated into one

@vercotux
Copy link
Contributor Author

vercotux commented Mar 8, 2015

The second part of problem the problem is the following: TbFormInputElement should not declare the $widgetOptions attribute because this overrides it to an empty array and completely prevents us from specifying any attributes from TbForm/CForm

@vercotux
Copy link
Contributor Author

Same goes for $label and $labelOptions. They need to be removed for them to be configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant