Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LiveComponent] Recursion detected with form #2469

Open
seb-jean opened this issue Dec 27, 2024 · 1 comment
Open

[LiveComponent] Recursion detected with form #2469

seb-jean opened this issue Dec 27, 2024 · 1 comment
Labels

Comments

@seb-jean
Copy link
Contributor

seb-jean commented Dec 27, 2024

Hi,

I have a form that is returned with a Symfony controller so very classic for now. But I would like to use part of this form in a live component. So I passed the form variable as a parameter for a component.

I end up with an error now:
Error rendering "blog_search" component: Recursion detected

Here is how I did it:
seb-jean/demo@6e00b32

@seb-jean seb-jean added the Bug Bug Fix label Dec 27, 2024
@smnandre
Copy link
Member

Do you have more code to show ? Correct me if i'm missreading something, but the link you gave just show the component function trying to pass a prop "form" to the live component ... that has no form props nor usage of "form" in the template ?

At least to get some help / explanations here if you could add the exception backtrace (or part of it), some code/file numbers, or the content of the template you're tring to render ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants