Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 853baaf

Browse files
authoredJan 19, 2025··
doc : update comment on submitForm in the LiveComponent testing doc
1 parent dc6e6e4 commit 853baaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/LiveComponent/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3733,6 +3733,8 @@ uses Symfony's test client to render and make requests to your components::
37333733
;
37343734

37353735
// Submit form data
3736+
// 'form' is the name of the form you're submitting (here FormType).
3737+
// e.a : form submitted is EntityCreationType the name of your form would be 'entity_creation' and should replace 'form' in the below submitForm call
37363738
$testComponent
37373739
->submitForm(['form' => ['input' => 'value']], 'save');
37383740

0 commit comments

Comments
 (0)
Please sign in to comment.