diff --git a/reference/forms/types/country.rst b/reference/forms/types/country.rst index dbf2a87cc5b..d6b3f921f2d 100644 --- a/reference/forms/types/country.rst +++ b/reference/forms/types/country.rst @@ -22,6 +22,7 @@ the option manually, but then you should just use the ``ChoiceType`` directly. | Rendered as | can be various tags (see :ref:`forms-reference-choice-tags`) | +-------------+-----------------------------------------------------------------------+ | Options | - `choice_translation_locale`_ | +| | - `alpha3`_ | +-------------+-----------------------------------------------------------------------+ | Overridden | - `choices`_ | | options | | @@ -64,6 +65,8 @@ Field Options .. include:: /reference/forms/types/options/choice_translation_locale.rst.inc +.. include:: /reference/forms/types/options/alpha3.rst.inc + Overridden Options ------------------ diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index 7aee017fcce..a4ea81d572d 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -24,6 +24,7 @@ manually, but then you should just use the ``ChoiceType`` directly. | Rendered as | can be various tags (see :ref:`forms-reference-choice-tags`) | +-------------+------------------------------------------------------------------------+ | Options | - `choice_translation_locale`_ | +| | - `alpha3`_ | +-------------+------------------------------------------------------------------------+ | Overridden | - `choices`_ | | options | | @@ -66,6 +67,8 @@ Field Options .. include:: /reference/forms/types/options/choice_translation_locale.rst.inc +.. include:: /reference/forms/types/options/alpha3.rst.inc + Overridden Options ------------------ diff --git a/reference/forms/types/options/alpha3.rst.inc b/reference/forms/types/options/alpha3.rst.inc new file mode 100644 index 00000000000..542dfef1901 --- /dev/null +++ b/reference/forms/types/options/alpha3.rst.inc @@ -0,0 +1,7 @@ +alpha3 +~~~~~~ + +**type**: ``boolean`` **default**: ``false`` + +This option determines if the choice values should be in the alpha3 instead +of the alpha2 format.