For generating a drop-down list with an item selected by default, the following is done:
echo Form::select('size', array('L' => 'Large', 'M' => 'Medium', 'S' => 'Small'), 'S');
So I generated a drop-down list that has more than one item selected by default, in the following way:
echo Form::select('size', array('L' => 'Large', 'M' => 'Medium', 'S' => 'Small'), array('S', 'M'), array('multiple'));
But how do I get the more than one selected values?
Input::get('size') returns only the last selected string.