Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 377d71c

Browse filesBrowse files
creinerjaviereguiluz
authored andcommitted
[Form] Added docs for alpha3 option in CountryType and LanguageType
1 parent 07fd43a commit 377d71c
Copy full SHA for 377d71c

File tree

3 files changed

+13
-0
lines changed
Filter options

3 files changed

+13
-0
lines changed

‎reference/forms/types/country.rst

Copy file name to clipboardExpand all lines: reference/forms/types/country.rst
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ the option manually, but then you should just use the ``ChoiceType`` directly.
2222
| Rendered as | can be various tags (see :ref:`forms-reference-choice-tags`) |
2323
+-------------+-----------------------------------------------------------------------+
2424
| Options | - `choice_translation_locale`_ |
25+
| | - `alpha3`_ |
2526
+-------------+-----------------------------------------------------------------------+
2627
| Overridden | - `choices`_ |
2728
| options | |
@@ -64,6 +65,8 @@ Field Options
6465

6566
.. include:: /reference/forms/types/options/choice_translation_locale.rst.inc
6667

68+
.. include:: /reference/forms/types/options/alpha3.rst.inc
69+
6770
Overridden Options
6871
------------------
6972

‎reference/forms/types/language.rst

Copy file name to clipboardExpand all lines: reference/forms/types/language.rst
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ manually, but then you should just use the ``ChoiceType`` directly.
2424
| Rendered as | can be various tags (see :ref:`forms-reference-choice-tags`) |
2525
+-------------+------------------------------------------------------------------------+
2626
| Options | - `choice_translation_locale`_ |
27+
| | - `alpha3`_ |
2728
+-------------+------------------------------------------------------------------------+
2829
| Overridden | - `choices`_ |
2930
| options | |
@@ -66,6 +67,8 @@ Field Options
6667

6768
.. include:: /reference/forms/types/options/choice_translation_locale.rst.inc
6869

70+
.. include:: /reference/forms/types/options/alpha3.rst.inc
71+
6972
Overridden Options
7073
------------------
7174

+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
alpha3
2+
~~~~~~
3+
4+
**type**: ``boolean`` **default**: ``false``
5+
6+
This option determines if the choice values should be in the alpha3 instead
7+
of the alpha2 format.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.