I need to put an id attribute in my first <option> tag only. I tried:
echo $form->field($model, 'supplier_id')->dropDownList(
                    $static + $listData, 
                    ['prompt'=>'', 'id' => 'supplier']);
But its id is not in the option tag but it's in the <select> tag. So it goes (as I inspect element in my browser):
<select id="supplier" class="form-control" name="Purchase">
And here's my first <option> tag:
<option value="/IAOY/web/index.php?r=contact%2Fcreatecontact">Add New Supplier</option>
As you can see it doesn't have an id attribute (I'm fully aware that my code is wrong).
Is there a way to put an id attribute in first <option> tag only, using Yii2? 
 
     
    