Relative Content

Tag Archive for phplaravellaravel-livewire

Why are my dispatched Livewire events delayed until the function finishes?

I have a Livewire component that uploads a video to YouTube in chunks. While uploading, I want to update the progress bar on the frontend by dispatching Livewire events for each chunk uploaded. However, the issue is that all the dispatched events are received only at the end of the function execution, instead of being received in real-time as the upload progresses. Why is this happening, and how can I fix it?

Why are my dispatched Livewire events delayed until the function finishes?

I have a Livewire component that uploads a video to YouTube in chunks. While uploading, I want to update the progress bar on the frontend by dispatching Livewire events for each chunk uploaded. However, the issue is that all the dispatched events are received only at the end of the function execution, instead of being received in real-time as the upload progresses. Why is this happening, and how can I fix it?

Multiple select using select2 in Livewire 3

I want to create multiple selects using the select2 plugin in the livewire component, but the first time I do select “onchange”, my select2 disappears into a regular select option. I’ve used wire:ignore to keep my select element from re-rendering, but it still doesn’t work.

File upload doesn’t work as supposed in livewire 3

I have strange problem with simple upload function, I’ve just installed fresh Laravel 11 project with latest version of livewire just to test this out, when I select file to upload I see request update to serve and temp file stored in livewire-tmp folder which is fine but when I press upload I face console error file is undefined I attached picture for the error with example repo just to see my problem live:
https://github.com/hawkiq/livewire3-example