Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b3831a3

Browse filesBrowse 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
Copy full SHA for b3831a3

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎forms.rst

Copy file name to clipboardExpand all lines: forms.rst
+2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.