8000 [Form] Add missing imports in unmapped fields example · symfony/symfony-docs@57fae2a · GitHub
[go: up one dir, main page]

Skip to content

Commit 57fae2a

Browse files
[Form] Add missing imports in unmapped fields example
1 parent 138546c commit 57fae2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

forms.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,8 @@ example to add an *"I agree with these terms"* checkbox), set the ``mapped``
968968
option to ``false`` in those fields::
969969

970970
// ...
971+
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
972+
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
971973
use Symfony\Component\Form\FormBuilderInterface;
972974

973975
class TaskType extends AbstractType

0 commit comments

Comments
 (0)
0