8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4054cba + 4b476ad commit 3b00899Copy full SHA for 3b00899
src/Symfony/Component/Form/Extension/Core/Type/HiddenType.php
@@ -18,6 +18,9 @@ class HiddenType extends AbstractType
18
public function getDefaultOptions(array $options)
19
{
20
return array(
21
+ // Force hidden fields to be not required
22
+ // More info: https://github.com/symfony/symfony/issues/1091
23
+ 'required' => false,
24
// Pass errors to the parent
25
'error_bubbling' => true,
26
);
0 commit comments