Skip to content

Commit 2edfd8d

Browse files
authored
Option 'required' is required for _parseOptions()
Option 'required' is required for $this->_parseOptions($fieldName, $options) Cake 3.7.2
1 parent f9c26a9 commit 2edfd8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/View/Helper/FormHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ public function control($fieldName, array $options = array()) {
451451

452452
$options += [
453453
'templateVars' => [],
454+
'required' => false,
454455
'prepend' => false,
455456
'append' => false,
456457
'help' => false,

0 commit comments

Comments
 (0)