Skip to content

Commit 7e77483

Browse files
authored
Fix embedded LiveComponents example
Child and parent props are swapped in example compared to documentation, leading to confusion.
1 parent 24fa1be commit 7e77483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2605,7 +2605,7 @@ In the ``EditPost`` template, you render the
26052605

26062606
{{ component('MarkdownTextarea', {
26072607
name: 'post[content]',
2608-
dataModel: 'value:post.content',
2608+
dataModel: 'post.content:value',
26092609
label: 'Content',
26102610
}) }}
26112611

0 commit comments

Comments
 (0)