Skip to content

Commit 99f63ff

Browse files
committed
minor #168 [LiveComponent] LiveProps: writable instead of modifiable attribute (gido)
This PR was merged into the main branch. Discussion ---------- [LiveComponent] LiveProps: writable instead of modifiable attribute | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Tickets | | License | MIT I read the whole documentation on Twig Component and Live Component (thanks ❤️!) and found a small typo. Well, I think it's a typo as I don't already tested the component :) Commits ------- 8e36cae [doc] LiveProps: writable instead of modifiable
2 parents 1424ea0 + 8e36cae commit 99f63ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ class EditPostComponent
10561056

10571057
With this, both the `title` and the `content` properties of the
10581058
`$post` property _can_ be modified by the user. However, notice
1059-
that the `LiveProp` does _not_ have `modifiable=true`. This
1059+
that the `LiveProp` does _not_ have `writable=true`. This
10601060
means that while the `title` and `content` properties can be
10611061
changed, the `Post` object itself **cannot** be changed. In other
10621062
words, if the component was originally created with a Post

0 commit comments

Comments
 (0)