Liam
Liam
FFilament
Created by Liam on 10/26/2024 in #❓┊help
Filament: panelLayout('grid') on SpatieMediaLibraryFileUpload
No description
4 replies
FFilament
Created by Liam on 10/25/2024 in #❓┊help
Custom theme (minimal theme) color issue
Hi, I purchased the official minimal theme for Filament. The installation works perfectly, but I can't seem to get my custom colors to work anymore. I'm still using the ->colors() in my FilamentServiceProvider. Did I miss something?
5 replies
FFilament
Created by Liam on 9/13/2024 in #❓┊help
Descriptions on CheckboxList (relationship)
Hi, I'm using this to display permissions in my user management system. Is it possible to load descriptions from the relationship without explicitly defining them in the descriptions method?
Forms\Components\CheckboxList::make('permissions')
->label('')
->relationship(
titleAttribute: 'display_name',
modifyQueryUsing: fn (Builder $query) => $query->orderBy('order'),
)
->bulkToggleable()
->columns(2),
Forms\Components\CheckboxList::make('permissions')
->label('')
->relationship(
titleAttribute: 'display_name',
modifyQueryUsing: fn (Builder $query) => $query->orderBy('order'),
)
->bulkToggleable()
->columns(2),
4 replies
FFilament
Created by Liam on 9/10/2024 in #❓┊help
UI Glitch on First Page Load When Redirecting to Filament Panel
No description
15 replies
FFilament
Created by Liam on 8/30/2024 in #❓┊help
Rich editor: Remove or style image captions, size etc.
Hello, I'm building a building a blog editor, and in my blog post I can't seem to style the caption under an uploaded image, it's just an a tag with an image inside, so no class or id to target it. I wanted to remove it as well but can't seem to find how.
5 replies
FFilament
Created by Liam on 7/17/2024 in #❓┊help
Get tenant on a custom NavigationItem
Hello, I want to add a custom NavigationItem where I need to redirect users to a page in my app outside of Filament, I want to include the tenant id they are currently on with:
NavigationItem::make(__('Abonnementen'))
->url(request()->get('tenant'))
->icon('heroicon-o-credit-card'),
NavigationItem::make(__('Abonnementen'))
->url(request()->get('tenant'))
->icon('heroicon-o-credit-card'),
Filament::getTenant() doesn't work and request()->get('tenant'), doesn't work as well.
9 replies
FFilament
Created by Liam on 3/22/2024 in #❓┊help
Checkboxes list options HTML
Hello, I have a config file which I pass to the options() function on a checkbox list form component. The labels in the config file contain some line breaks. I need to render the labels as HTML
6 replies
FFilament
Created by Liam on 2/2/2024 in #❓┊help
Filament::getTenant()
Does this also check if user has access or do you have to manually check?
4 replies
FFilament
Created by Liam on 1/30/2024 in #❓┊help
Database notifications for a custom model
Hello, I added the notifiable trait to my team model and I am sending some notifications there, they don't show up in the notification slideover as they only do for users. Is there a possibility to also display team notifications there? I can't seem to find something in the docs about it.
3 replies
FFilament
Created by Liam on 1/3/2024 in #❓┊help
SpatieMediaLibrary plugin CORS issue@
Hi everyone I'm using Spatie's Media Library to manage my images in Filament. I did setup an S3 bucket with the following CORS policy:
[
{
"AllowedHeaders": [],
"AllowedMethods": [
"GET",
"PUT",
"POST",
"DELETE"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": []
}
]
[
{
"AllowedHeaders": [],
"AllowedMethods": [
"GET",
"PUT",
"POST",
"DELETE"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": []
}
]
` When I upload an image in Filament I still get a CORS issue. How can I solve this?
23 replies
FFilament
Created by Liam on 10/22/2023 in #❓┊help
Multi language slugs
Hello everyone, I am using Spatie's available package to generate slugs (https://github.com/spatie/laravel-sluggable#integration-with-laravel-translatable). I also use the Filament plugin for translations (by Spatie). This all works but how can I validate that each slug is unique? Also when I create a new record, it doesn't use the method from Spatie's package to generate the slug, Filament then gives me a warning that I didn't provide a slug. Can anyone guide me for this?
1 replies
FFilament
Created by Liam on 8/28/2023 in #❓┊help
Flickering
Hi, does anyone know why this keeps happening when I navigate between pages?
8 replies
FFilament
Created by Liam on 8/22/2023 in #❓┊help
color topbar
Hello, what is the easiest and best way to change the topbar navbar color?
3 replies
FFilament
Created by Liam on 8/9/2023 in #❓┊help
grid help
19 replies
FFilament
Created by Liam on 8/3/2023 in #❓┊help
Computed table values
I want add something in my table that is a computed value from multiple model fields. Is this possible without a model attribute?
4 replies