Skip to content

Commit 87d2153

Browse files
committed
[Form] Minor reword in the Choice type
1 parent 9947271 commit 87d2153

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reference/forms/types/choice.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ To use this field, you must specify *either* ``choices`` or ``choice_loader`` op
5252
Example Usage
5353
-------------
5454

55-
The easiest way to use this field is to specify the choices directly via
56-
the ``choices`` option::
55+
The easiest way to use this field is to define the ``choices`` option to specify
56+
the choices as an associative array where the keys are the labels displayed to
57+
end users and the array values are the internal values used in the form field::
5758

5859
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
5960
// ...

0 commit comments

Comments
 (0)