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.
7272See the :ref: `DateType's format option <reference-forms-type-date-format >`
7373for more details.
7474
75+ The ``date_format `` option does not have any effect when the form is rendered
76+ as an HTML5 datetime input.
77+
7578date_label
7679~~~~~~~~~~
7780
@@ -91,6 +94,8 @@ date_widget
9194
9295.. include :: /reference/forms/types/options/date_widget_description.rst.inc
9396
97+ The ``date_widget `` option is ignored when the ``widget `` option is set to ``single_text ``.
98+
9499.. include :: /reference/forms/types/options/days.rst.inc
95100
96101placeholder
@@ -184,6 +189,8 @@ time_widget
184189
185190Defines the ``widget `` option for the :doc: `TimeType </reference/forms/types/time >`.
186191
192+ The ``time_widget `` option is ignored when the ``widget `` option is set to ``single_text ``.
193+
187194.. include :: /reference/forms/types/options/view_timezone.rst.inc
188195
189196widget
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ not to the property:
219219 .. code-block :: php-annotations
220220
221221 /**
222- * @AcmeAssert\ContainsAlphanumeric
222+ * @AcmeAssert\ProtocolClassValidator
223223 */
224224 class AcmeEntity
225225 {
@@ -231,11 +231,11 @@ not to the property:
231231 # config/validator/validation.yaml
232232 App\Entity\AcmeEntity :
233233 constraints :
234- - App\Validator\Constraints\ContainsAlphanumeric : ~
234+ - App\Validator\Constraints\ProtocolClassValidator : ~
235235
236236 .. code-block :: xml
237237
238238 <!-- config/validator/validation.xml -->
239239 <class name =" App\Entity\AcmeEntity" >
240- <constraint name =" App\Validator\Constraints\ContainsAlphanumeric " />
240+ <constraint name =" App\Validator\Constraints\ProtocolClassValidator " />
241241 </class >
You can’t perform that action at this time.
0 commit comments