Closed splyy closed 1 year ago
@splyy Something about https://github.com/symfony/ux/issues/543 ? Maybe a header is missing.
@xaviermarchegay
I update the LiveComponentSub,scriber from vendors based on your PR, and thanks to this modification I reproduce the problem on my local machine :thinking:
However, when I look at the response in the profiler, i got this :
Which makes me think that the JS changes might not have any impact as I have application/vnd.live-component+html
.
EDIT :
I require 2.x-dev
from composer (instead of tags). I try it on my staging environment !
Thanks @xaviermarchegay your PR resolve the problem :+1:
waiting new tag :eyes:
Hello,
I have a strange problem with the LiveComponent module.
I use LiveComponent in a modal, to render a form (quick add) and update a user list directly when closing this modal :
And my component simply create user, send an email and then redirects to the listing
When creating a User, on my local machine, everything works as intented and the list is reloaded without a hitch. In the profiler, I got 2 traces:
The problem occurs on my staging server environment. When the form is submitted, the user is created (since we find the save action in the profiler) but it stops there. The 2nd action is not performed and on the site we find ourselves with a "black overlay" as if a second modal was opened:
And when inspecting the code:
No errors in the console. No errors in the profiler/network. No additional information.
Does anyone have any ideas? Could the problem be a JS conflict? Or should I just abandon the idea of using LiveComponent for my modal?
EDIT :
There is my config for SymfonyUX :