diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index 4c7b5fc242b..8baa3fc4b77 100644 --- a/src/LiveComponent/doc/index.rst +++ b/src/LiveComponent/doc/index.rst @@ -3732,9 +3732,9 @@ uses Symfony's test client to render and make requests to your components:: ->set('count', 99) ; - // Submit form data + // Submit form data ('my_form' for your MyFormType form) $testComponent - ->submitForm(['form' => ['input' => 'value']], 'save'); + ->submitForm(['my_form' => ['input' => 'value']], 'save'); $this->assertStringContainsString('Count: 99', $testComponent->render());