F
Filament•3w ago
reppair

Component with actions in a loop?

Seems like I have to render the <x-filament-actions::modals /> for each component having actions in my loop, which causes couple of problems: - the action modal becomes a child element, so all clicks on it bubble up and have to be dealth with - it renders the modals form in the DOM as many items there are in the loop Can't I load the actions to the <x-filament-actions::modals /> of my parent component which also has it's own actions?
1 Reply
reppair
reppairOP•3w ago
I mean, I am planning on having infinite scroll and a feed of articles 🙂That is a lot of repletion, can I avoid that by using a single <x-filament-actions::modals /> somehow?
Want results from more Discord servers?
Add your server