Consignr
afterStateUpdated() not running on custom component
I have custom Section component that is opened and collapsed using a checkbox. It works as expected.
I have multiple CheckboxSection components in my form and want to ensure that only 1 is open at a given time. Maybe i could achieve this by doing some checks in the afterStateUpdated() method on each checkbox?
The Problem - afterStateUpdated() doesnt seem to run on the checkboxes. On the example code below the $state is not dumped.
6 replies
Generate url for dashboard of another panel
Hello, I'm in my 'admin' panel and i want to generate the url for the dashboard on my 'app' panel for an action button.
I've tried...
but this is returning the current (admin) panel object.
I'm getting...
"http://filament3.test/admin" but i'm expecting "http://filament3.test/app"
I thought i had seen this documented somewhere but now i cant find it.
Am i close?
4 replies