YiiBooster
YiiBooster copied to clipboard
TbFormInputElement ignoring widgetOptions and label
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
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
Same goes for $label and $labelOptions. They need to be removed for them to be configurable.