Skip to content
Permalink
Browse files

nestedInput needed upsetting so it doesn't appear as an attribute

  • Loading branch information...
lilHermit committed Jan 24, 2017
1 parent 3ec192f commit fcadcc55841c88e13ddfa91c0165a87029be4104
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/View/Helper/FormHelper.php
@@ -1043,6 +1043,7 @@ public function input($fieldName, array $options = [])
$nestedInput = true;
}
$nestedInput = isset($options['nestedInput']) ? $options['nestedInput'] : $nestedInput;
unset($options['nestedInput']);
if ($nestedInput === true && $options['type'] === 'checkbox' && !array_key_exists('hiddenField', $options) && $label !== false) {
$options['hiddenField'] = '_split';

0 comments on commit fcadcc5

Please sign in to comment.
You can’t perform that action at this time.