Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

StephanGadzhev's avatar

StephanGadzhev wrote a comment+100 XP

3mos ago

Everything New in Livewire 4: Ep 12, Slots

On the initial render, elements that are over the first using :lazy.bundle="$loop->iteration > 9" do not include the checkbox while loading. This happens because the card component is not present during the initial load. When the lazy-loaded component finishes loading, the <flux:checkbox wire:model="selectedBookings" :value="$booking->id" /> still does not appear because it was never part of the initial DOM. I see that in the video is the same. if you scroll down you will see that the checkbox are missing.

What is the correct way to handle this so the checkbox reliably appears once the lazy-loaded component is loaded?