Skip to content

Commit 25519ba

Browse files
authored
Make form identifier correspond to its data
1 parent 2fc27e9 commit 25519ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/options/choice_attr.rst.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If an array, the keys of the ``choices`` array must be used as keys::
1313
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
1414
// ...
1515

16-
$builder->add('attending', ChoiceType::class, [
16+
$builder->add('fruits', ChoiceType::class, [
1717
'choices' => [
1818
1 => Apple,
1919
2 => Banana,

0 commit comments

Comments
 (0)