Closed tlcko closed 7 years ago
hello please is there a way to set a select option selected?
Yes, use val() to assign a value to the select:
val()
$select = F::select([1 => 'One', 2 => 'Two']); $select->val(2);
thank you!
hello please is there a way to set a select option selected?