Skip to content

Commit 0131de0

Browse files
committed
minor #1250 Fixed some typos in UX Live Components code examples (rrenteria-dev)
This PR was merged into the 2.x branch. Discussion ---------- Fixed some typos in UX Live Components code examples Hey! I fixed some code examples typos in the official UX Live components documentation. Thanks in advance. | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Issues | | License | MIT Commits ------- fe98edefc9 Fixed UX Live Components code examples
2 parents deadad8 + 4d37f31 commit 0131de0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,7 @@ Now, create a Twig component to render the form::
17151715
use DefaultActionTrait;
17161716

17171717
#[LiveProp]
1718-
public initialFormData $post;
1718+
public Post $initialFormData;
17191719

17201720
protected function instantiateForm(): FormInterface
17211721
{
@@ -1759,7 +1759,6 @@ and ``removeComment()`` actions:
17591759

17601760
{{ form_widget(commentForm) }}
17611761
{% endfor %}
1762-
</div>
17631762

17641763
{# avoid an extra label for this field #}
17651764
{% do form.comments.setRendered %}

0 commit comments

Comments
 (0)