summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/fields.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 77ccc9e862..dad5f1bbb8 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -494,6 +494,12 @@ For each field, we describe the default widget used if you don't specify
time the field's form is initialized, in addition to during rendering.
Defaults to an empty list.
+ .. admonition:: Choice type
+
+ This field normalizes choices to strings, so if choices are required in
+ other data types, such as integers or booleans, consider using
+ :class:`TypedChoiceField` instead.
+
.. versionchanged:: 5.0
Support for using :ref:`enumeration types <field-choices-enum-types>`