Skip to content

Commit

Permalink
form/remove-legacy-message
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYamous authored Sep 24, 2024
1 parent fea59c5 commit 6516a9b
Show file tree
Hide file tree
Showing 33 changed files with 0 additions and 66 deletions.
2 changes: 0 additions & 2 deletions reference/forms/types/birthday.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ option defaults to 120 years ago to the current year.
+---------------------------+-------------------------------------------------------------------------------+
| Default invalid message | Please enter a valid birthdate. |
+---------------------------+-------------------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+-------------------------------------------------------------------------------+
| Parent type | :doc:`DateType </reference/forms/types/date>` |
+---------------------------+-------------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\BirthdayType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/checkbox.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ if you want to handle submitted values like "0" or "false").
+---------------------------+------------------------------------------------------------------------+
| Default invalid message | The checkbox has an invalid value. |
+---------------------------+------------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+------------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CheckboxType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/choice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ To use this field, you must specify *either* ``choices`` or ``choice_loader`` op
+---------------------------+----------------------------------------------------------------------+
| Default invalid message | The selected choice is invalid. |
+---------------------------+----------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+----------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+----------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/collection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ that is passed as the collection type field data.
+---------------------------+--------------------------------------------------------------------------+
| Default invalid message | The collection is invalid. |
+---------------------------+--------------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+--------------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+--------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CollectionType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/color.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ element.
+---------------------------+---------------------------------------------------------------------+
| Default invalid message | Please select a valid color. |
+---------------------------+---------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+---------------------------------------------------------------------+
| Parent type | :doc:`TextType </reference/forms/types/text>` |
+---------------------------+---------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ColorType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/country.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ the option manually, but then you should just use the ``ChoiceType`` directly.
+---------------------------+-----------------------------------------------------------------------+
| Default invalid message | Please select a valid country. |
+---------------------------+-----------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+-----------------------------------------------------------------------+
| Parent type | :doc:`ChoiceType </reference/forms/types/choice>` |
+---------------------------+-----------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CountryType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/currency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ manually, but then you should just use the ``ChoiceType`` directly.
+---------------------------+------------------------------------------------------------------------+
| Default invalid message | Please select a valid currency. |
+---------------------------+------------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+------------------------------------------------------------------------+
| Parent type | :doc:`ChoiceType </reference/forms/types/choice>` |
+---------------------------+------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CurrencyType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/date.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ and can understand a number of different input formats via the `input`_ option.
+---------------------------+-----------------------------------------------------------------------------+
| Default invalid message | Please enter a valid date. |
+---------------------------+-----------------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+-----------------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+-----------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\DateType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/dateinterval.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ or an array (see `input`_).
+---------------------------+----------------------------------------------------------------------------------+
| Default invalid message | Please choose a valid date interval. |
+---------------------------+----------------------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+----------------------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+----------------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\DateIntervalType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array.
+---------------------------+-----------------------------------------------------------------------------+
| Default invalid message | Please enter a valid date and time. |
+---------------------------+-----------------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+-----------------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+-----------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\DateTimeType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ The ``EmailType`` field is a text field that is rendered using the HTML5
+---------------------------+---------------------------------------------------------------------+
| Default invalid message | Please enter a valid email address. |
+---------------------------+---------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+---------------------------------------------------------------------+
| Parent type | :doc:`TextType </reference/forms/types/text>` |
+---------------------------+---------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\EmailType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ field and defines the same options.
+---------------------------+----------------------------------------------------------------------+
| Default invalid message | The selected choice is invalid. |
+---------------------------+----------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+----------------------------------------------------------------------+
| Parent type | :doc:`ChoiceType </reference/forms/types/choice>` |
+---------------------------+----------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\EnumType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ The ``FileType`` represents a file input in your form.
+---------------------------+--------------------------------------------------------------------+
| Default invalid message | Please select a valid file. |
+---------------------------+--------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+--------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+--------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\FileType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on all types for which ``FormType`` is the parent.
+---------------------------+--------------------------------------------------------------------+
| Default invalid message | This value is not valid. |
+---------------------------+--------------------------------------------------------------------+
| Legacy invalid message | This value is not valid. |
+---------------------------+--------------------------------------------------------------------+
| Parent | none |
+---------------------------+--------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/hidden.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ The hidden type represents a hidden input field.
+---------------------------+----------------------------------------------------------------------+
| Default invalid message | The hidden field is invalid. |
+---------------------------+----------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+----------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+----------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\HiddenType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/integer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ integers. By default, all non-integer values (e.g. 6.78) will round down
+---------------------------+-----------------------------------------------------------------------+
| Default invalid message | Please enter an integer. |
+---------------------------+-----------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+-----------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+-----------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\IntegerType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ manually, but then you should just use the ``ChoiceType`` directly.
+---------------------------+------------------------------------------------------------------------+
| Default invalid message | Please select a valid language. |
+---------------------------+------------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+------------------------------------------------------------------------+
| Parent type | :doc:`ChoiceType </reference/forms/types/choice>` |
+---------------------------+------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\LanguageType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/locale.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ manually, but then you should just use the ``ChoiceType`` directly.
+---------------------------+----------------------------------------------------------------------+
| Default invalid message | Please select a valid locale. |
+---------------------------+----------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+----------------------------------------------------------------------+
| Parent type | :doc:`ChoiceType </reference/forms/types/choice>` |
+---------------------------+----------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\LocaleType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/money.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ how the input and output of the data is handled.
+---------------------------+---------------------------------------------------------------------+
| Default invalid message | Please enter a valid money amount. |
+---------------------------+---------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+---------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+---------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\MoneyType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/number.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ that you want to use for your number.
+---------------------------+----------------------------------------------------------------------+
| Default invalid message | Please enter a number. |
+---------------------------+----------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+----------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+----------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\NumberType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/password.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ The ``PasswordType`` field renders an input password text box.
+---------------------------+------------------------------------------------------------------------+
| Default invalid message | The password is invalid. |
+---------------------------+------------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+------------------------------------------------------------------------+
| Parent type | :doc:`TextType </reference/forms/types/text>` |
+---------------------------+------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\PasswordType` |
Expand Down
2 changes: 0 additions & 2 deletions reference/forms/types/percent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ the input.
+---------------------------+-----------------------------------------------------------------------+
| Default invalid message | Please enter a percentage value. |
+---------------------------+-----------------------------------------------------------------------+
| Legacy invalid message | The value {{ value }} is not valid. |
+---------------------------+-----------------------------------------------------------------------+
| Parent type | :doc:`FormType </reference/forms/types/form>` |
+---------------------------+-----------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\PercentType` |
Expand Down
Loading

0 comments on commit 6516a9b

Please sign in to comment.