Here's a simple code for select tag creation :
$mydropdown = $this->tag->Select(
[
'prodID',
$providers, // variable from controller , to populate select tag
'using' => [
'id',
'name',
],
'id' => 'myId',
'name' => 'myName'
]
);
Is it possible and how to set select tag disabled from phalcon to get html structure like this :
<select disabled> -> the whole select is disabled
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
Thanks in advance .