We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853baaf commit 5afd2e4Copy full SHA for 5afd2e4
src/LiveComponent/doc/index.rst
@@ -3732,11 +3732,9 @@ uses Symfony's test client to render and make requests to your components::
3732
->set('count', 99)
3733
;
3734
3735
- // 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
+ // Submit form data ('my_form' for your MyFormType form)
3738
$testComponent
3739
- ->submitForm(['form' => ['input' => 'value']], 'save');
+ ->submitForm(['my_form' => ['input' => 'value']], 'save');
3740
3741
$this->assertStringContainsString('Count: 99', $testComponent->render());
3742
0 commit comments