Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Explain how to properly override choices#7990

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
xabbuh merged 1 commit intosymfony:3.3fromxabbuh:issue-7779
Jun 10, 2017
Merged
Show file tree
Hide file tree
Changes fromall 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
6 changes: 6 additions & 0 deletionsreference/forms/types/country.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -60,6 +60,12 @@ choices
The country type defaults the ``choices`` option to the whole list of countries.
The locale is used to translate the countries names.

.. caution::

If you want to override the built-in choices of the country type, you
will also have to set the ``choice_loader`` option to ``null``. Not doing
so is deprecated since Symfony 3.3.

Inherited Options
-----------------

Expand Down
6 changes: 6 additions & 0 deletionsreference/forms/types/currency.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -51,6 +51,12 @@ choices

The choices option defaults to all currencies.

.. caution::

If you want to override the built-in choices of the currency type, you
will also have to set the ``choice_loader`` option to ``null``. Not doing
so is deprecated since Symfony 3.3.

Inherited Options
-----------------

Expand Down
6 changes: 6 additions & 0 deletionsreference/forms/types/language.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -61,6 +61,12 @@ choices
The choices option defaults to all languages.
The default locale is used to translate the languages names.

.. caution::

If you want to override the built-in choices of the language type, you
will also have to set the ``choice_loader`` option to ``null``. Not doing
so is deprecated since Symfony 3.3.

Inherited Options
-----------------

Expand Down
6 changes: 6 additions & 0 deletionsreference/forms/types/locale.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -63,6 +63,12 @@ choices
The choices option defaults to all locales. It uses the default locale to
specify the language.

.. caution::

If you want to override the built-in choices of the locale type, you
will also have to set the ``choice_loader`` option to ``null``. Not doing
so is deprecated since Symfony 3.3.

Inherited Options
-----------------

Expand Down
6 changes: 6 additions & 0 deletionsreference/forms/types/timezone.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -56,6 +56,12 @@ choices
The Timezone type defaults the choices to all timezones returned by
:phpmethod:`DateTimeZone::listIdentifiers`, broken down by continent.

.. caution::

If you want to override the built-in choices of the timezone type, you
will also have to set the ``choice_loader`` option to ``null``. Not doing
so is deprecated since Symfony 3.3.

Inherited Options
-----------------

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp