Give parameter to widget from page

So basicly I have an arraylist of times: $times = ['13:30', '18:00'] These will be collected from the database. For each of these times i want to add a table widget to a page. Is this possible? How could i pass the time onto the widget?
4 Replies
Patrick Boivin
Is this a custom page?
DanielvdSpoel
DanielvdSpoelOP2y ago
yes it is
Patrick Boivin
Because this is already a custom page, I would consider doing plain Livewire components instead of widgets. I think it could give you a bit more flexibility when it comes to passing parameters, configuring the tables, etc.
DanielvdSpoel
DanielvdSpoelOP2y ago
Okay, sounds like a good idea That worked out great! thanks!
Want results from more Discord servers?
Add your server