Skip to content

[Form] Add note about Intl component #15026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions reference/forms/types/country.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ the option manually, but then you should just use the ``ChoiceType`` directly.

.. include:: /reference/forms/types/options/_debug_form.rst.inc

.. versionadded:: 5.3

The Intl component is required to get a list of countries.

.. code-block:: terminal

$ composer require symfony/intl

Field Options
-------------

Expand Down
8 changes: 8 additions & 0 deletions reference/forms/types/currency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ manually, but then you should just use the ``ChoiceType`` directly.

.. include:: /reference/forms/types/options/_debug_form.rst.inc

.. versionadded:: 5.3

The Intl component is required to get a list of currencies.

.. code-block:: terminal

$ composer require symfony/intl

Field Options
-------------

Expand Down
8 changes: 8 additions & 0 deletions reference/forms/types/language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ manually, but then you should just use the ``ChoiceType`` directly.

.. include:: /reference/forms/types/options/_debug_form.rst.inc

.. versionadded:: 5.3

The Intl component is required to get a list of languages.

.. code-block:: terminal

$ composer require symfony/intl

Field Options
-------------

Expand Down
8 changes: 8 additions & 0 deletions reference/forms/types/locale.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ manually, but then you should just use the ``ChoiceType`` directly.

.. include:: /reference/forms/types/options/_debug_form.rst.inc

.. versionadded:: 5.3

The Intl component is required to get a list of locales.

.. code-block:: terminal

$ composer require symfony/intl

Field Options
-------------

Expand Down
8 changes: 8 additions & 0 deletions reference/forms/types/timezone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ with the ``choice_translation_locale`` option.
The :doc:`Timezone constraint </reference/constraints/Timezone>` can validate
both timezone sets and adapts to the selected set automatically.

.. versionadded:: 5.3

The Intl component needs to be installed when this value is ``true``.

.. code-block:: terminal

$ composer require symfony/intl

Overridden Options
------------------

Expand Down