YiiBooster icon indicating copy to clipboard operation
YiiBooster copied to clipboard

TbFormInputElement ignoring widgetOptions and label

Open vercotux opened this issue 9 years ago • 2 comments

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 avatar Mar 08 '15 07:03 vercotux

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 avatar Mar 08 '15 08:03 vercotux

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

vercotux avatar Mar 10 '15 08:03 vercotux