<form action="http://tests.local/17develop/public/" accept-charset="utf-8" method="post">
<table>
<tr>
<td class=""><label id="label_manufacturer" for="form_manufacturer">Manufacturer</label></td>
<td class="">
<select id="form_manufacturer" name="manufacturer">
<option value="1">Salt City Glass</option>
<option value="2" selected="selected">Yambo</option>
</select> <span></span>
</td>
</tr>
</table>
</form>
$manufacturer_field = array(
'type' => 'select',
'value'=>2, // hard-coded for testing
'options'=> array(1 => 'value 1', 2 => 'value 2'),
);
$form = \Fieldset::forge('x');
$form->add( 'manufacturer', 'Manufacturer', $manufacturer_field, array(''));
\Debug::dump($form->build());die();
It looks like you're new here. If you want to get involved, click one of these buttons!