Zend\Form\View\Helper\FormSelect::validateMultiValue
Ensure that the value is set appropriately
If the element's value attribute is an array, but there is no multiple attribute, or that attribute does not evaluate to true, then we have a domain issue -- you cannot have multiple options selected unless the multiple attribute is present and enabled.
Signature
protected function validateMultiValue(mixed
$value,
array
$attributes )
Parameters
$value
— mixed$attributes
— array
Returns
- array