diff --git a/cookbook/form/create_custom_field_type.rst b/cookbook/form/create_custom_field_type.rst index 2fa6217c125..95a7fbef935 100644 --- a/cookbook/form/create_custom_field_type.rst +++ b/cookbook/form/create_custom_field_type.rst @@ -257,7 +257,7 @@ the gender codes were stored in configuration or in a database? The next section explains how more complex field types solve this problem. .. versionadded:: 2.6 - The ``placeholder`` option was introduced in Symfony 2.6 in favor of + The ``placeholder`` option was introduced in Symfony 2.6 and replaces ``empty_value``, which is available prior to 2.6. .. _form-cookbook-form-field-service: diff --git a/cookbook/form/dynamic_form_modification.rst b/cookbook/form/dynamic_form_modification.rst index 92ecf27b412..8338134126c 100644 --- a/cookbook/form/dynamic_form_modification.rst +++ b/cookbook/form/dynamic_form_modification.rst @@ -499,7 +499,7 @@ sport like this:: } .. versionadded:: 2.6 - The ``placeholder`` option was introduced in Symfony 2.6 in favor of + The ``placeholder`` option was introduced in Symfony 2.6 and replaces ``empty_value``, which is available prior to 2.6. When you're building this form to display to the user for the first time, diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index 25816551d42..2efa97662ce 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -85,7 +85,7 @@ placeholder ~~~~~~~~~~~ .. versionadded:: 2.6 - The ``placeholder`` option was introduced in Symfony 2.6 in favor of + The ``placeholder`` option was introduced in Symfony 2.6 and replaces ``empty_value``, which is available prior to 2.6. **type**: ``string`` or ``array`` diff --git a/reference/forms/types/options/placeholder.rst.inc b/reference/forms/types/options/placeholder.rst.inc index afb649bdd58..ca065be6bbe 100644 --- a/reference/forms/types/options/placeholder.rst.inc +++ b/reference/forms/types/options/placeholder.rst.inc @@ -2,7 +2,7 @@ placeholder ~~~~~~~~~~~ .. versionadded:: 2.6 - The ``placeholder`` option was introduced in Symfony 2.6 in favor of + The ``placeholder`` option was introduced in Symfony 2.6 and replaces ``empty_value``, which is available prior to 2.6. .. versionadded:: 2.3 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