kippie1985
Cluster Pages + Navigation Groups
Sorry, didn't read it correct. In this case, you should use navigationgroups. In your PanelProvider, define navigationgroups using
In your resource, define
This should do the trick.
Reference: https://filamentphp.com/docs/2.x/admin/navigation#grouping-navigation-items
17 replies
Cluster Pages + Navigation Groups
I think you're searching for: https://filamentphp.com/docs/3.x/panels/clusters
17 replies
Action->extraAttributes(['target' => 'my_frame']) is not showing
Your solution will print the current page. I'll try to explain the problem more detailed:
I have a resource, let's say: PicklistResource. In this resource, i can see all the products i have to pick today for all pending orders. I need a signature from the carrier that he picked up the products, just to have proof, it's a client requirement. It's just a simple list with a barcode, Product description and order number. Beneath that, there will be some space for the driver name, license plate and a signature, so a completely other view
29 replies
Action->extraAttributes(['target' => 'my_frame']) is not showing
I think we don't understand each other haha. I have a button, that should load a route in a frame that's dedicated to print only some texts. The route will load a controller and the controller will load a view. In this view, i have a javascript window.print(), so this page will show the printer dialog, without opening the actual print page
29 replies
Action->extraAttributes(['target' => 'my_frame']) is not showing
Very true!! I already did try to use JS like this:
But that's only on the DOMContentLoaded of course., so it works only on page load. As documented in the LW documentation, i can only use these JS hooks: livewire:initialized and livewire:init. In this resource, i only have a date filter. Can i hook into Filament as well?
29 replies
Action->extraAttributes(['target' => 'my_frame']) is not showing
As far as i can see, the target attribute is valid: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/target. Anyway, i've "fixed" it now by making the ->label() an anchor.
29 replies