Live Components — empty LiveProp if remove-prefixed functions exist #60869
Unanswered
UtechtDustin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
i searched for almost 2 hours, to find the issue, why my LiveProp is always an empty array if i dump it in twig.
The issue happens when i have an function (which don't have to be an LiveAction) which is prefixed with remove e.g.
remove<LiveProp Name>
.Example
As soon i rename the method to
removeFilterEntry
or something else anything works fine!After some tests this also happens if the function method is add.
I would love to know/understand why that is the case!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions