Filament

F

Filament

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

Join

Refresh Modal form on Custom component

Hey Everyone, I have a custom component on the left which one is shown by Render hooks. That works. I click on one of the avatars, it shows a modal. On the modal I want to create ToggleButtons based on which avatar i choose, but it doesn't work. (Customer - Projects 1-n relation)...
No description

Repeater ScrollBar

Hello everyone, Is there a way to set scrollbar to repeater component ? for example after the 10th row Thanks...

Override classes in filament blade components

Is there a proper way to override (not just merge) CSS classes of a Filament Blade component? For example: ```js <x-filament::button class="absolute top-0 right-0">...
Solution:
I don't think so. Try using important in these cases. !top-0

Notification

Is it possible to filter notifications by workspaces (teams)?
No description

How to customize the dashboard page ?

Hello, I want to customize the dashboard page. I've followed this : https://filamentphp.com/docs/3.x/panels/dashboard#customizing-the-dashboard-page - I've added Dashboard.php page in app/Filament/Pages - and removed Dashboard from the configuration file ( ->pages([])) But it's not working. No dashboard is displayed in the menu and the app automatically redirect me to an other part of my app....
Solution:
You uncommented ->discoverPages() either enable that or register your Dashboard manually via ->pages()

Can we test an icon?

Hi, I was wondering if we can test an icon? like I want to test that if it rendered specific icon.

Set name in the actions column.

Hello, how can I assign a name in the <thead> of the actions column? I need to customize an action and it must have a title in the column. Thank you.

Pass the record to the importer class

I’m currently using the importer action in a relation manager. What’s the best way to pass the ownerRecord to the importer and use it in resolveRecord to set the relationship ID accordingly? ```php ImportAction::make('importSearchQueries') ->iconSize(IconSize::Small)...
Solution:
Here is how you can pass data to the importer: ```php ImportAction::make('importSearchQueries') ->importer(SearchQueriesImporter::class)...

Filament x Volt relationships

Hey 👋 I’m using Wave Dojo (Volt + Filament) — docs link. Everything works great, but I’m struggling with relationships in forms/tables. ...

Upgrading to v4 Some buttons don't have labels

Before creating a github issue, is there a step I have missed in the upgrade guide or in the docs? Some buttons are missin the labels and I see the translation key only. My locale is en...

InfoList components on create - Schema has no [record()] or [state()] set.

On my create/edit forms I have a section to display data rather than input it, a sort of heading (see image). I used a mix of layout and infolist since now in v4 we can mix and match? Code is below but I am getting 'Schema has no [record()] or [state()] set.' on create, edit works ok. Should the components return null if there is no state or should I be tackling this in different way? i.e. maybe a custom component. `...
No description

Setting the width of a custom Register page

What I am trying to do: I want to increase the width of the register container on a custom Register page What I did: I extended Filament\Auth\Pages\Register with a child App\Filament\Pages\Auth\Register page. ...
Solution:
The solution was to override the $maxContentWidth property like so: protected Width|string|null $maxContentWidth = Width::FiveExtraLarge;...

Updating filament beta to stable release

Just wondering, with the recent stable release, is there anything additional required to update, other than updating the composer reference from an earlier beta version?
Solution:
nothing

ImageEditor opening in slideOver on V4

I am in the process of upgrading to v4. My preference is to use infolists to display the data on a specific resource and then have an edit button that opens a slideOver for editing the resource. In a couple of my resources, I am using the FileUpload element to upload avatars and other images. I am also using the ImageEditor on those. The problem I'm having now is that when I click on the pencil to edit the image, it is opening the editor in the slideOver panel instead of in a separate modal like...

Activity Logs Clarification

Hello, I'm trying to find a way to log the activities inside my Filament Panel (that would be model edits, creation, deletion, and actions). I came across Activitylog Pro, but I don't know if it would be a good fit. I want just one table of activities that show what was changed or happened inside the Filament panel (and it should not contain the model changes from the system, cron jobs, api routes or other stuffs that are not performed from the Filament Panel)...

defaultImageUrl not working after upgrade to v4

While I was still on v3, I was using the ImageColumn on my Author and Book table to display cover art and Author avatars. I was also using an ImageEntry in my infolists for those 2 same resources. In the case of not having an image, I am using the defaultImageUrl method on both the column and entry which was working great on v3. I am now trying to upgrade to v4, however, and it seems like the default images are only showing if the column in my DB is NOT null and the image it is trying to referen...

v4 registration

I installed Filamentphp v4 and want to add two new fields to the Panel register page. The code that worked in v3 does not work in v4. I am not getting any error messages! Register.php ```php...

Unable to use InteractsWithActions and InteractsWithRecord at the same time

I'm trying to upgrade my app from v3 -> v4. The problem I am trying to solve: How can I make it so I can define actions in my blade template and use InteractsWithRecord? ...

Copyable Not working

It seems that copyable not working on v4.. ``` public function table(Table $table): Table {...
No description