Skip to content

Commit b3831a3

Browse files
committed
minor #17736 [Form] Add missing imports in unmapped fields example (alexandre-daubois)
This PR was merged into the 5.4 branch. Discussion ---------- [Form] Add missing imports in unmapped fields example Fixes #17698 Commits ------- 57fae2a [Form] Add missing imports in unmapped fields example
2 parents 362f027 + 57fae2a commit b3831a3

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)