/yii2-bootstrap-radio-list

Yii2 Bootstrap radio list widget.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Yii2 Bootstrap radio list widget

Usage example

echo $form->field($model, 'list')->widget(
    'kolyunya\yii2\widgets\bootstrap\RadioList',
    [
        'items' =>
        [
            'value-1' => 'label-1',
            'value-2' => 'label-2',
            'value-3' => 'label-3'
        ],
        'type' => 'primary',
        'size' => 'default'
    ]
);