Hi, what is the best way to define additional 'disabled' option for SELECT tag and also 'selected' attribute for the option? Say, I have select element
$element = new Select('id', MyElement::find(), array(
'using' => array('id', 'name')
));
which produces
<select>
<option value="1">One</option>
<option value="2">Two</option>
</select>
1) how to define additional 'disabled' option?
<select>
<option disabled>Please select...</option>
<option value="1">One</option>
<option value="2">Two</option>
</select>
2) How to pre-select element?
<select>
<option value="1">One</option>
<option selected value="2">Two</option>
</select>
Thanks!