$choices
$choices :
Simple checkbox.
valueFromFormData( $name, $data) : mixed
A widget can split itself in multiple input form. For example you can have a datetime value in your model and you use 2 inputs one for the date and one for the time to input the value. So the widget must know how to get back the values from the submitted form.
$name | ||
$data |
Value or null if not defined.