Filament

F

Filament

A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire

Join

custom modal content

I make a filament page and implement HasTable, i want to make action view with modal and use custom modal content, but the modal not show up and no error, ```php public function table(Table $table): Table {...

Sidebar shows more items than Top Navigation in Filament

Hey folks, I noticed something strange while using Filament with ->topNavigation() enabled: In top navigation mode, several menu items (like Clusters, Resources grouped via navigationGroup, etc.) are missing, even though they show up fine in the regular sidebar navigation. ...

database notification pagination v3

how to add pagination in database notification

Unique rule not working on update

Hello, I have this unique rule: ```php...
Solution:
I figured it out. I had extra code in the creating and updating hooks off my model which interfered with the validation logic

I'm experiencing an issue related to cluster usage:

When I try to access a cluster-based resource from the menu, the page takes a long time to load and eventually times out, even though the data is still empty. However, if I right-click the menu item and choose "Open in New Tab", the page loads successfully and quickly. Other resources that don't use clusters load normally without any issues. I'm using Laravel and the latest version of Filament. Could you help me troubleshoot this?...
Solution:
After checking the debug console, I found that the issue was related to SSL. The SSL problem was causing the page to load slowly. Once I fixed the SSL configuration, the page started working normally, just like the others.

How to make a custom model attribute column searchable and sortable?

Hey! I have a getFullNameAttribute() method on my user model - how do i display that full name column in a resource, and then allow searching and sorting on it?...

What caused the Settings cluster tabs to disappear ?

I have 3 tabs used in cluster but it seems that it disappeared and I am only able to load 1 page.
No description

Rich editor that saves images on a cloud disk? (Bunny, S3, R2 etc)

Does anyone know if it's possible to change the default rich editor, or if there's a plugin that allows inserting images but saving the image on an external disk, such as cloudflare r2, bunny etc? Currently the rich editor is saving the images locally in laravel storage despite the disk being bunny globally

How do I create 3 WYSIWYG editors ? is it possible?

I am trying to replicate this page in filament, is it possible to create 3 richeditors at the same page?
No description

Issue when assigning roles on importing csv

Hi, I am using Spatie to manage my roles and I'm running into an issue. I'd like to import a csv to fill up my user database but the roles won't be assigned. I can easily export the users csv with their role assigned, but when importing the queued job is looping on failed jobs. My question is : is it possible to assign a spatie role to a user on importing a csv ?...

Is it possible to enable multi-column sorting (Shift+Click) in Filament PHP Tables

I’m using Filament PHP (v3) for my admin panel. By default, when I click a column header in a Filament table, it sorts by that column only. If I click another column, the previous sort is removed and only the new column is sorted. What I want: I would like to allow users to sort by multiple columns at once (multi-column sorting), similar to how you can Shift+Click in Excel or other table UIs to sort by several columns in sequence. ...

Infolist RepeatableEntry view entry action.

Hi, I cant figure out how to make repeatable entries with action that opens entry in new tab. Check my code below. Why I cannot inject current repeatable entry in function: ``` RepeatableEntry::make('completedTestAttempts') ->label(false)...

Modal Action in Form with Table Modal Body

Hey everyone, I have a complex issue with my selection dialog. I hope I can explain it in 3 steps: 1) I have an action button in a form, that opens a modal. This Modal contains a custom table via table builder to select a record, that should be used to pre-fill the form. 2) For this, each table record, has a "Select" button. Clicking on this button dispatches an event to pass the data down to the form. 3) The problem: The event is dispatched (can see it in Debug bar), but it does not reach the form or any function outside the Livewire class. ...

FilamentAsset unregister/remove

Some plugins break my css I would like them not to register their assets. but as I noticed there is no function unregister nor remove. Is there another way to prevent a specific plugin from publishing assets?...

SelectFilter Add Null as an option

I have a select filter by manager:
SelectFilter::make('manager_id')
->options(Manager::pluck('name', 'id')->toArray())
SelectFilter::make('manager_id')
->options(Manager::pluck('name', 'id')->toArray())
...

Array/Json to Table Panel

We have a json column for a model and want to show that data as a filament table panel. It seems like a common use case and could not find documentation on it. To add table to infolist, we've created a livewire component and added it to the infolist using Livewire::make(component::class) However, adding the data to the table is eluding me....

Recommendation on strategy

Hi all, I have a Page with a table and a widget on the Page in the header. I want to do some calculations with the currently selected rows of the table but am unsure what the best way to connect the widget to the table could be. Any suggestions?

limit record

How to limit table record in a resource? I've tried: `public static function getEloquentQuery(): Builder {...
Solution:
Limiting records based on plan limit. I made a visual work around which is even better. Records are loaded but locked.