diff --git a/reference/forms/types/datetime.rst b/reference/forms/types/datetime.rst index 5fda8e9a14f..a435a8aab88 100644 --- a/reference/forms/types/datetime.rst +++ b/reference/forms/types/datetime.rst @@ -38,10 +38,9 @@ for more details. date_label ~~~~~~~~~~ -**type**: ``string`` | ``null`` **default**: The label is "guessed" from the field name +**type**: ``string`` | ``null`` **default**: ``null`` -Sets the label that will be used when rendering the date widget. Setting it to -``false`` will suppress the label:: +Sets the label that will be used when rendering the date widget:: use Symfony\Component\Form\Extension\Core\Type\DateTimeType; @@ -136,10 +135,9 @@ input_format time_label ~~~~~~~~~~ -**type**: ``string`` | ``null`` **default**: The label is "guessed" from the field name +**type**: ``string`` | ``null`` **default**: ``null`` -Sets the label that will be used when rendering the time widget. Setting it to -``false`` will suppress the label:: +Sets the label that will be used when rendering the time widget:: use Symfony\Component\Form\Extension\Core\Type\DateTimeType;
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: