File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ Defines the ``format`` option that will be passed down to the date field.
72
72
See the :ref: `DateType's format option <reference-forms-type-date-format >`
73
73
for more details.
74
74
75
+ The ``date_format `` option does not have any effect when the form is rendered
76
+ as an HTML5 datetime input.
77
+
75
78
date_label
76
79
~~~~~~~~~~
77
80
@@ -91,6 +94,8 @@ date_widget
91
94
92
95
.. include :: /reference/forms/types/options/date_widget_description.rst.inc
93
96
97
+ The ``date_widget `` option is ignored when the ``widget `` option is set to ``single_text ``.
98
+
94
99
.. include :: /reference/forms/types/options/days.rst.inc
95
100
96
101
placeholder
@@ -184,6 +189,8 @@ time_widget
184
189
185
190
Defines the ``widget `` option for the :doc: `TimeType </reference/forms/types/time >`.
186
191
192
+ The ``time_widget `` option is ignored when the ``widget `` option is set to ``single_text ``.
193
+
187
194
.. include :: /reference/forms/types/options/view_timezone.rst.inc
188
195
189
196
widget
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ not to the property:
219
219
.. code-block :: php-annotations
220
220
221
221
/**
222
- * @AcmeAssert\ContainsAlphanumeric
222
+ * @AcmeAssert\ProtocolClassValidator
223
223
*/
224
224
class AcmeEntity
225
225
{
@@ -231,11 +231,11 @@ not to the property:
231
231
# config/validator/validation.yaml
232
232
App\Entity\AcmeEntity :
233
233
constraints :
234
- - App\Validator\Constraints\ContainsAlphanumeric : ~
234
+ - App\Validator\Constraints\ProtocolClassValidator : ~
235
235
236
236
.. code-block :: xml
237
237
238
238
<!-- config/validator/validation.xml -->
239
239
<class name =" App\Entity\AcmeEntity" >
240
- <constraint name =" App\Validator\Constraints\ContainsAlphanumeric " />
240
+ <constraint name =" App\Validator\Constraints\ProtocolClassValidator " />
241
241
</class >
You can’t perform that action at this time.
0 commit comments