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 41ac9c2

Browse filesBrowse files
committed
fixup
1 parent 5b39460 commit 41ac9c2
Copy full SHA for 41ac9c2

File tree

1 file changed

+7
-1
lines changed
Filter options

1 file changed

+7
-1
lines changed

‎reference/forms/types/choice.rst

Copy file name to clipboardExpand all lines: reference/forms/types/choice.rst
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,13 @@ method::
122122
]);
123123

124124
You can also customize the `choice_name`_ of each choice. You can learn more
125-
about all of them in the sections below.
125+
about all of these options in the sections below.
126+
127+
.. caution::
128+
129+
The *placeholder* is a specific field, when the choices are optional the
130+
first item in the list must be empty, so the user can unselect.
131+
Be sure to always handle the empty choice ``null`` when using callbacks.
126132

127133
.. _forms-reference-choice-tags:
128134

0 commit comments

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