yiibooster select2group tags to model (database)

in booster widget tbActiveform, i will add select2group widget, with multiple selected, so i use "tags" attribute,


	<div class="row">

		<?= $form->select2Group($model,'zat_aktif',[

				'wrapperHtmlOptions'=>[

					'class'=>'col-sm-5',

				],

				'widgetOptions'=>[

					'asDropDownList' => false,

					'options'=>[

					'placeholder'=>'Select Metode',

					'tokenSeparators' => [',', ' '],

			//		'tags' => array('clever', 'is', 'better', 'clevertech'),

				//	],

				'data'=>CHtml::listData(Detailbahan::model()->findAll(),'nama_detail_bhn', 'nama_detail_bhn'),

					

				],

			]) ?></div>

How can i get tags value from model/database??? thank you

try this:

‘widgetOptions’ => array(

	'data'=&gt;CHtml::listData(Model::model()-&gt;findAll(),'idtosave','nametoshow'),

and comment or delete ‘asDropDownList’ => false,