Hi all, I have the following sub DepDrop box:
<!-- SELECT CLIENT -->
<?php
echo $form->field($model, 'id')->widget(DepDrop::classname(), [
'options'=>['id'=>'client-id', 'style'=>'width:450px'],
'pluginOptions'=>[
'depends'=>['company-id'],
'placeholder'=>'Select...',
'url'=>Url::to(['.......'])
]
])->label('Select a Client');
?>
<!-- SELECT CLIENT -->
This will build a list of clients based on Company selected. I need the option ‘All’ right at the top of the list.
Any help appreciated.
Thanks