mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
[Form] Add missing imports in unmapped fields example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user