John Trickett
DWG Mime Type
Here is how someone has managed to get DWG working:
https://github.com/pqina/filepond-plugin-file-validate-type/issues/13#issuecomment-1090136944
11 replies
Can someone help with render hooks?
I understand! I would typically create a Livewire component for it. I would use the modal component (https://filamentphp.com/docs/3.x/support/blade-components/modal) and configure the modal as a slideover.
You can then use a render hook to place the modal trigger in the top bar with something like: PanelsRenderHook::USER_MENU_BEFORE
8 replies
Relation Manager for pivot table
Hi @Brian Kidd. Services can have multiple sites, so the site_id is defined in the pivot.
I'm beginning to think the solution maybe to treat this three way pivot as a model, then create a relation manager for that and specify the relationship between the pivot model and site, then use the relationship from the pivot model to services and contractors for the remaining data.
6 replies