Ron
How to test Header/Footer Actions in a Section Form Component
callFormComponentAction fails with error "Call to a member function getKey() on null" when attempting to test calling a section header action.
Can callFormComponentAction() be used to test Header/Footer actions on Form Sections.
Test Code:
Form Code:
2 replies
How to close an ActionGroup dropdown with a custom function after the function completes
I see from a similar post how to close the drop down immediately on click, but is there a way to close the drop down within the custom function itself to preserve the progress spinner on the action?
The code below shows an action w/in a group where the drop down is closed immediately (this code was from a similar post)
5 replies
Global navigation combined from multiple panels.
Is it possible to combine the navigation from multiple "sub" panels into a single app panel.
I have an App panel with this code:
And PanelNavigation:items() calls module facades to pull the navigation items from respective panels
The getNavigationItems from a facade / module gets the resource navitems with the following
I use the same navigation builder in each panel and the code works only when running the /admin panel.
When accessing the /app panel, the error is Route [filament.app.resources.companies.index] not defined.
It appears that CompanyResource::getNavigationItems() is using the App panel to build the route
Has anyone successfull built a global side nav with access to multiple panel resources?
3 replies