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

vetdatalynx's avatar

Livewire and Flowbite

Hi everyone, I'm currently working on a Laravel project and using Livewire 3 along with Flowbite and Tailwind CSS. I have implemented a datatable in Livewire which includes a filter functionality. Lets say I use computed in getting and filtering the items.

Here’s the issue I’m facing: When the page is initially loaded, the Flowbite accordion works perfectly within the table rows. However, once I start using the filter, the Flowbite accordion stops working. It seems like Flowbite is not re-initializing or attaching correctly after the DOM changes caused by Livewire.

Im currently on versions Laravel 10 and Livewire 3.

0 likes
0 replies

Please or to participate in this conversation.