Skip to content

Commit f0f0b2c

Browse files
Holt59Mikael Capelle
authored and
Mikael Capelle
committed
Merge pull request #170 from alphp/patch-1
Option 'required' is required for _parseOptions()
1 parent 4eec97c commit f0f0b2c

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
@@ -448,6 +448,7 @@ public function control($fieldName, array $options = array()) {
448448

449449
$options += [
450450
'templateVars' => [],
451+
'required' => false,
451452
'prepend' => false,
452453
'append' => false,
453454
'help' => false,

0 commit comments

Comments
 (0)