kartik-v / yii2-widget-activeform

Enhanced Yii2 active-form and active-field with full bootstrap styling support (sub repo split from yii2-widgets).
http://demos.krajee.com/widget-details/active-form
Other
64 stars 35 forks source link

Unable to set "asButtonGroup" from radioList() #60

Closed vercotux closed 9 years ago

vercotux commented 9 years ago

radioList() has no way to set the asButtonGroup parameter used in getToggleFieldList().

This is a particular problem when using the Form Builder, where it is not possible to turn the radio list into a bootstrap toggle button group.

kartik-v commented 9 years ago

You need to instead directly use the radioButtonGroup and checkboxButtonGroup within kartik\form\ActiveField... will add these constants to FORM Builder.

kartik-v commented 9 years ago

Resolved via kartik-v/yii2-builder#95