Klassenattribut für Laravel 4-Blade-Dropdown-Liste
Das Klassenattribut der Laravel-Blade-Dropdown-Liste funktioniert nicht.
Ich kann keinen Verweis auf eine Klasse finden oder Attribute für Auswahl- / Dropdown-Listen in der Dokumentation zuweisen.
http://www.laravel.com/docs/html#drop-down-lists
Beispiele ausprobiert:
{{ Form::select('product_id', $productList, array('class'=>'form-control')) }}
{{ Form::select('product_id', $productList, $attributes = array('class'=>'form-control')) }}
Beide geben das gleiche HTML zurück, aber ohne dasclass
Attribut:
<select id="product_id" name="product_id">
... Option Stuff ...
</select>