Closed twg-group closed 9 years ago
it works!
echo SelectizeDropDownList::widget([ 'name' => 'items', 'items' => array_merge([''=>''], ArrayHelper::map($items, 'item_id', 'name')), 'options' => ['id'=>'select-input', 'placeholder' => 'select please ...'], 'clientOptions' => [ 'sortField' => 'text', ] ]);
Nice
Hello! How can i add placeholder to the input field? (SelectizeDropDownList)