Skip to content

Commit e9be7dc

Browse files
authored
Merge pull request #170 from alphp/patch-1
Option 'required' is required for _parseOptions()
2 parents f9c26a9 + 2edfd8d commit e9be7dc

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)