Фильтр GridView настроен на использование плагина Select2
Код: Выделить всё
'filterType'=>GridView::FILTER_SELECT2,
'filter'=> ArrayHelper::map(Tarif::find()->orderBy('name')->asArray()->all(), 'id', 'name'),
'filterWidgetOptions'=>[
'pluginOptions'=>['allowClear'=>true],
],
'filterInputOptions'=>['placeholder'=>'тариф'],
'format'=>'raw'