Jordy
Export summary rows
Currently have a report page with normal columns but also summaries.. I have to export the table pretty much as it is (including summaries)
Is there a way to do this (AFAIK not with core).. what is the best approach to still use as much of core as possible?
13 replies
Localise custom labels
(first time dealing with translations in an app)
I am using the bezhan language switcher which works great for text from filament, validation etc
Only issue I am facing is that custom labels do not translate unless the exact word/phrase is in the lang files and I end up having to manually add all phrases/words for each label.. I am sure there is a better way to go about this?
e.g. this requires this exact label in all lang files otherwise it wont translate
1 replies
Remove "all" option from pagination for entire panel
I am aware I can just call
)->paginated([10, 25, 50, 100]);
on each table but that kinda sucks xD.. is there a away to do this? (should be possible to add to the PanelProvider or a config option?)5 replies
getTableRecordUrlUsing a new tab
https://filamentphp.com/docs/2.x/tables/getting-started#record-urls
I have this but want to open the url in a new tab (links to an external site).. can I do so or do I have to define
->url()
and ->openUrlInNewTab()
on every column?17 replies
ListsRecord\Tab deprecation
I am using tabs in my resource like the orders page does in the demo (https://github.com/filamentphp/demo/blob/678ef5c53f219a2032c0ae70fd5b5e7d3cfeb9b5/app/Filament/Resources/Shop/OrderResource/Pages/ListOrders.php#L31C6-L31C6)
but I get a warning it is deprecated and to use the Components/Tab.. but this does not have the query functionality.. am I supposed to fetch the active tab in the resource from now on or will this functionality come to the default tab?
If so, will the demo be updated too? (I am fine with opening a pr).. I am sure more people look at the source code for inspiration like I did ^^
7 replies
Morph col filter
how does one go about filtering a morph col? I can assign a user or a team to a task.. want a searchable select filter for it but I cant figure out how to do it
I was thinking of making 2 seperate ones (first select if you want to filter a User or Team, (assigned_type)
when filled in (assigned_id) appears with Users or Teams
its how I do create/update, but you cannot depend/have reactive filter inputs it seems)
Is there an easier way to achieve what I want?
22 replies
Show a warning before leaving page when you have filled in a form (save/discard changes)
I have a large form where the save button is far down, sometimes people forget to press it and leave that page. Whatever they have filled in will be lost.. Is there any way to give a warning before leaving the page if there has been a field filled in.. I cannot find something in the docs
78 replies