Author Name Kathryn Anne Tan Twitter https://twitter.com/KTan360 Image by https://annieruygtillustration.com/

Furthermore, if our table element is found in a separate Livewire component, we need to find a way to share the data from each filter drop-down to the table component.

Now that we have a way to get each selected drop-down data, let’s finish this by sharing them to another component — our table component.

We can take the selected drop-down data from event.detail, and directly update the $filtersList variable in our table component with it: And that’s it!
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners