We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fc27e9 commit 25519baCopy full SHA for 25519ba
reference/forms/types/options/choice_attr.rst.inc
@@ -13,7 +13,7 @@ If an array, the keys of the ``choices`` array must be used as keys::
13
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
14
// ...
15
16
- $builder->add('attending', ChoiceType::class, [
+ $builder->add('fruits', ChoiceType::class, [
17
'choices' => [
18
1 => Apple,
19
2 => Banana,
0 commit comments