Skip to content

Commit 7e5b7f1

Browse files
committed
[Form] placeholder option: replace "in favor" misuses
1 parent 9de5e2c commit 7e5b7f1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cookbook/form/create_custom_field_type.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ the gender codes were stored in configuration or in a database? The next
257257
section explains how more complex field types solve this problem.
258258

259259
.. versionadded:: 2.6
260-
The ``placeholder`` option was introduced in Symfony 2.6 in favor of
260+
The ``placeholder`` option was introduced in Symfony 2.6 and replaces
261261
``empty_value``, which is available prior to 2.6.
262262

263263
.. _form-cookbook-form-field-service:

cookbook/form/dynamic_form_modification.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ sport like this::
499499
}
500500

501501
.. versionadded:: 2.6
502-
The ``placeholder`` option was introduced in Symfony 2.6 in favor of
502+
The ``placeholder`` option was introduced in Symfony 2.6 and replaces
503503
``empty_value``, which is available prior to 2.6.
504504

505505
When you're building this form to display to the user for the first time,

reference/forms/types/date.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ placeholder
8585
~~~~~~~~~~~
8686

8787
.. versionadded:: 2.6
88-
The ``placeholder`` option was introduced in Symfony 2.6 in favor of
88+
The ``placeholder`` option was introduced in Symfony 2.6 and replaces
8989
``empty_value``, which is available prior to 2.6.
9090

9191
**type**: ``string`` or ``array``

reference/forms/types/options/placeholder.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ placeholder
22
~~~~~~~~~~~
33

44
.. versionadded:: 2.6
5-
The ``placeholder`` option was introduced in Symfony 2.6 in favor of
5+
The ``placeholder`` option was introduced in Symfony 2.6 and replaces
66
``empty_value``, which is available prior to 2.6.
77

88
.. versionadded:: 2.3

0 commit comments

Comments
 (0)