mirror of
https://github.com/getgrav/grav.git
synced 2026-03-04 19:41:36 +01:00
Added a comment
This commit is contained in:
@@ -229,6 +229,7 @@ class Validation
|
||||
*/
|
||||
public static function typeCheckboxes($value, array $params, array $field)
|
||||
{
|
||||
// Set multiple: true so checkboxes can easily use min/max counts to control number of options required
|
||||
$field['multiple'] = true;
|
||||
return self::typeArray((array) $value, $params, $field);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user