Miguel García
Miguel García
FFilament
Created by Saidazam on 10/27/2024 in #❓┊help
How to Save Filter Results in Raw Format for Later Use?
You can create a custom bulk action and work with selected data as you need (store the results, send to a queue or whatever you need)
6 replies
FFilament
Created by Tjiel on 10/25/2024 in #❓┊help
How can I change the width of individual statsoverview stats?
I'd recommend to customise the widget's grid : https://filamentphp.com/docs/3.x/panels/dashboard#customizing-the-widgets-grid Then set how many grid columns are used to display widgets in your new (dashboard) page
public function getColumns(): int | string | array
{
return 12;
}
public function getColumns(): int | string | array
{
return 12;
}
Finally, create as many overview widgets as you need with one stat each and set their column spam as you wish
protected int | string | array $columnSpan = [
'md' => 12,
'lg' => 6
];
protected int | string | array $columnSpan = [
'md' => 12,
'lg' => 6
];
7 replies
FFilament
Created by Xavi on 10/23/2024 in #❓┊help
Navigation item bottom
@Xavi De res 😉
11 replies
FFilament
Created by Xavi on 10/23/2024 in #❓┊help
Navigation item bottom
No description
11 replies
FFilament
Created by Xavi on 10/23/2024 in #❓┊help
Navigation item bottom
A css solution would be: - use the navigatioSort to push/sort the latest pages/resources (Mis compras y Hablamos) to the bottom of the list, - then use css to make 100 height all elements below the main aside item (using flex utilities for instance), - and then apply margin-top: auto to the nth li item (page/resource) that you wan to push to the bottom This css code should do the trick, but use it at your own risk, this might break your side menu if you add more groups, clusters, ... (not sure) or other side menus (if any):
aside.fi-sidebar > nav,
aside.fi-sidebar > nav > ul,
aside.fi-sidebar > nav > ul > li,
aside.fi-sidebar > nav > ul > li > ul {
flex-grow: 1;
}

aside.fi-sidebar > nav > ul > li > ul > li:nth-last-child(2) {
margin-top: auto;
}
aside.fi-sidebar > nav,
aside.fi-sidebar > nav > ul,
aside.fi-sidebar > nav > ul > li,
aside.fi-sidebar > nav > ul > li > ul {
flex-grow: 1;
}

aside.fi-sidebar > nav > ul > li > ul > li:nth-last-child(2) {
margin-top: auto;
}
11 replies
FFilament
Created by Xavi on 10/22/2024 in #❓┊help
Register colors
It seems that you are using #4E8AFF expecting to see something orange but it is actually blue, your code is ok, just change #4E8AFF for something orange
7 replies
FFilament
Created by Mehmet K. on 10/21/2024 in #❓┊help
My Bulkaction buttons do not fit in the table, can we add scroll?
12 replies
FFilament
Created by Mehmet K. on 10/21/2024 in #❓┊help
My Bulkaction buttons do not fit in the table, can we add scroll?
No description
12 replies
FFilament
Created by Mehmet K. on 10/21/2024 in #❓┊help
My Bulkaction buttons do not fit in the table, can we add scroll?
or change the display to block instead of flex .fi-ta-header { display: block; }
12 replies
FFilament
Created by Mehmet K. on 10/21/2024 in #❓┊help
My Bulkaction buttons do not fit in the table, can we add scroll?
No description
12 replies
FFilament
Created by TheSoulrester on 10/17/2024 in #❓┊help
widget width "$columnSpan = 'full';" doesn't work with blade-templates
No description
24 replies
FFilament
Created by TheSoulrester on 10/17/2024 in #❓┊help
widget width "$columnSpan = 'full';" doesn't work with blade-templates
<x-filament-widgets::widget> <x-filament::section> .... .... </x-filament::section> </x-filament-widgets::widget>
24 replies
FFilament
Created by TheSoulrester on 10/17/2024 in #❓┊help
widget width "$columnSpan = 'full';" doesn't work with blade-templates
Just change your view <div> container for <x-filament-widgets::widget>
24 replies
FFilament
Created by TheSoulrester on 10/17/2024 in #❓┊help
widget width "$columnSpan = 'full';" doesn't work with blade-templates
No description
24 replies
FFilament
Created by jjo63 on 10/17/2024 in #❓┊help
Help! Unable to access variable values from .env
Did you try clearing config cache?
18 replies
FFilament
Created by ChesterS on 10/16/2024 in #❓┊help
Change widget icon color
No description
9 replies
FFilament
Created by ChesterS on 10/16/2024 in #❓┊help
Change widget icon color
You can add an extra attribute (class or id) to your stat widget and then use the child combinator ( > ), for instance:
...
...
->extraAttributes([
'id' => 'your-stat-widget-id',
'class' => 'your-stat-widget-class'
])
...
...
...
...
->extraAttributes([
'id' => 'your-stat-widget-id',
'class' => 'your-stat-widget-class'
])
...
...
...
...
div#your-stat-widget-id > div > div > svg.fi-wi-stats-overview-stat-icon {
color:blue !important;
}

div.your-stat-widget-class > div > div > span.fi-wi-stats-overview-stat-label {
color:red !important;
}
...
...
...
...
div#your-stat-widget-id > div > div > svg.fi-wi-stats-overview-stat-icon {
color:blue !important;
}

div.your-stat-widget-class > div > div > span.fi-wi-stats-overview-stat-label {
color:red !important;
}
...
...
9 replies
FFilament
Created by Rafiisetiawan on 10/16/2024 in #❓┊help
Issue: Filament Shield - Permissions and Roles for Models Without Filament Resources Not Visible or
Shield manages permissions by role for resources, pages and widgets. What are you trying to do?
3 replies
FFilament
Created by Gaspar on 10/5/2024 in #❓┊help
decimal value has inconsistencies/bugs in Column and Textinput
5 replies
FFilament
Created by Gaspar on 10/5/2024 in #❓┊help
decimal value has inconsistencies/bugs in Column and Textinput
5 replies