kolyunya/yii2-bootstrap-radio-list

Yii2 Bootstrap radio list widget.

dev-master 2014-11-14 15:04 UTC

This package is auto-updated.

Last update: 2024-12-11 00:23:20 UTC


README

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'
    ]
);