Pscl
How to Attach or create a polymorphic relation model to another model in the relation manager?
Hey all,
How to Attach or create a polymorphic relation model to another model in the relation manager?
In the relation manager there is the CreateAction and AttachAction. My goal is to have just one button and let the user search for an item and if no results, it suggest to add it.
Did I miss out any references in documentation for this?
https://filamentphp.com/docs/3.x/forms/fields/select#creating-a-new-option-in-a-modal
this seems not to work for polymorphic many to many relations.
THX!
2 replies
How to use a Repeater with relation ship in an actions form?
I can't find how to set the model and relation for a Repeater in an actions form.
Would be happy to get some hints on how to tell the repeater the Model and Relation to use to populate the data.
4 replies
Using a page with HasFiltersForm and InteractsWithRecord or a dashboard as page
Hey all,
I am trying to add a FilterForm to my page. But it seems like that It needs to be a dashboard page. But when I make it a dashboard page, I can't register it in my pages on my resource, because ::route is not provided on dashboard page.
Any idea how to get out of this loop? 😄
3 replies
How to load widgets only on specific pages/dashboards?
Hey all,
I am trying to achieve multiple dashboards with different widgets.
But somehow All widgets are loaded on all dashboards. Using getHeaderWidgets is just adding the widget of the array 2nd time on the page.
This is loading all widgets an all pages.
If I remove it and add widgets here:
All of these widgets are loaded on every dashboard page.
I am confused 😄
Thx for help
5 replies
Modifying exporter to get grouped exports
`
I do have a TimeEntries table. I want to create an exporter that exports the time entries grouped by name and it's duration in sum. But Exporter Fails.
In my laravel.log file I get the error attached.
Any idea how to achieve an grouped export?
1 replies
Dashboard in SubNavigation
In my Resource I am trying to do setup a subNavigation with a Dashboard Item that gives me a link to a dashboard just for the record.
The error I get
Ofcourse... but any Idea how to get it working to utilize Dashboard as a SubNavigation Page for a specific record?
17 replies
Combining Clusters with Pages? Or on the wrong way?
Hey all,
https://demo.filamentphp.com/shop/products/products
Here we do see a cluster... but I am trying to accomplish something slightly different and asking what would we the best way to set it up?
I have Model and the ViewModel Page should have a cluster with following Navigation items:
1. Dashboard
2. Informations
3. RelatedModel1
4. RelatedModel2
My head is stucking on how to accomplish this. Is this possible with Clusters? Or do I need to go a different route?
Thanks!
3 replies