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
Is this a custom page?
yes it is
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.
Okay, sounds like a good idea
That worked out great! thanks!