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.
1 parent a064e17 commit 23abeccCopy full SHA for 23abecc
book/forms.rst
@@ -694,7 +694,7 @@ the documentation for each type.
694
:ref:`disable HTML5 validation <book-forms-html5-validation-disable>`
695
or set the ``required`` option on your field to ``false``::
696
697
- ->add('dueDate', 'date', array(
+ ->add('dueDate', DateType::class, array(
698
'widget' => 'single_text',
699
'required' => false
700
))
0 commit comments