diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index ad3cc216f8e..2e069637055 100644 --- a/src/LiveComponent/doc/index.rst +++ b/src/LiveComponent/doc/index.rst @@ -1455,9 +1455,7 @@ or omit it entirely to let the ``initialFormData`` property default to ``null``: {# templates/post/new.html.twig #} {# ... #} - {{ component('PostForm', { - form: form - }) }} + {{ component('PostForm') }} Submitting the Form via a LiveAction ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~