[Form] Add missing imports in unmapped fields example

This commit is contained in:
Alexandre Daubois
2023-01-13 18:50:48 +01:00
parent 138546cffc
commit 57fae2a796

View File

@@ -968,6 +968,8 @@ example to add an *"I agree with these terms"* checkbox), set the ``mapped``
option to ``false`` in those fields::
// ...
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\FormBuilderInterface;
class TaskType extends AbstractType