I use the following form:
<?=Form::select('stars', array(
1 => 1,
2 => 2,
3 => 3,
4 => 4,
5 => 5
), null, ["placeholder" => "Stars", "class" => "w-select"]);?>
It looks awful. How can I reformate array in Form::select that keys will be from 1 to 5?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire