From f06c6e756b0b28f93bc3da1076d12f5b402d6e13 Mon Sep 17 00:00:00 2001 From: Leevi Graham Date: Sat, 28 Jun 2025 11:34:29 +1000 Subject: [PATCH] Update datetime.rst Date label and time label are not guessed. --- reference/forms/types/datetime.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy