Filament

F

Filament

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

Join

in version 4 how to set the "create" modal size to medium?

i can set the edit modal size EditAction::make()->iconButton()->modalWidth(Width::Medium), but i remove the create form getPages to use it as a modal .. but can not find how to set it's size like in EditAction...

Notifications icon in the top right with modal slide hover

Do i need to create a blade template to add a notificaitons icon in the top right ? close to the profile settings circle...? How does it work ?I am doing a project about domain and website managment and i wuanted to add a notifications icon in the client panel... The project is divided in two panels basically one deciated to clients and the other to admins...

Go to List page with filters

I want to make an action to go to the list page with filters in it. this is the code for the action ``` Tables\Actions\Action::make('activities') ->icon('heroicon-o-clock')...
Solution:
I solved it with this
->url(fn($record) => ActivityLogResource::getUrl('index', ['tableFilters[causer_id][values][0]' => $record->id])),
->url(fn($record) => ActivityLogResource::getUrl('index', ['tableFilters[causer_id][values][0]' => $record->id])),
...

Disable auto link detection in RichEditor (V4 / Tiptap)

Is there a way to disable automatic link detection in the RichEditor? For example, when I type “www.google.com”, the text is automatically converted into a hyperlink. However, I want to completely disallow links. I’ve already removed the link button from the toolbar, but the link is still being inserted automatically.

Custom table

I know there's a ViewColumn to create custom view in a table. Buts is there a way to create a custom Table in a resource. not a custom page. If you want the table structure to be in a certain way...
Solution:
All the functionality relies way to much on the Blade files, so it's not a good idea to overwrite the table structure.

Laravael 12.2 + Filament 3 = Cannot Login (Newbie to Laravel)

I'm new to LAravel but not PHP. I have struggled to work out what is going on. I can get the Filament login screen. My user is accurate. My guard auth is web and hasPanelAccess() just returns true. I'm struggling to understand what is happening between here and there to get a "These credentials do not match our records." every time. Attaching a gist. I'm hoping a human can identify what I'm doing wrong because the "normal" routines are sending me in circles....
Solution:
I actually sorted all this out with a different approach using sail. So I'm set. Thanks y'all

How can I access relationships inside the disableOptionWhen

How can I access relationships inside the disableOptionWhen callback exactly the same way I do in getOptionLabelFromRecordUsing? Perhaps I’m approaching this the wrong way. I just want to disable the shift options when the shift->orders relationship has a status other than OrderStatus::New, OrderStatus::Completed, or OrderStatus::Cancelled. But the disableOptionWhen method doesn’t let me access $record->orders; it’s using the Order form model instead of the Shift relationship. ```php Forms\Components\Select::make('shift_id') ->label(__('Select a shift'))...

Error on Filter

```php ->filters([ Filter::make('filter_fee') ->schema([ Select::make('filter_grade')...
Solution:
There is an issue open for that

Allowed memory size of 1073741824 bytes exhausted [RESOLVED]

When I try and edit a new member on my admin panel, it allows me to click the save button however as soon as I try and go to a different page on the admin pannel it gives me this error. ```[2025-07-11 16:33:25] local.ERROR: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) {"userId":1,"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) at C:\Users\cobyl\Herd\penyrheolregistrationsystem\vendor\laravel\framework\src\Illuminate\View\Concerns\ManagesComponents.php:117) [stacktrace] #0 {main}...
Solution:
Updating it to v3.3.31 fixed the issue. Thanks so much for the help

DatePicker only monday

Is there a way to only enable mondays in the calender? I know you can specify dates that should be disabled, but I would like to only allow users to select mondays without too much hazzle. Is there a functionality to do this?
Solution:
A hacky way; ```php DatePicker::make('start')...

Tailwind Class not generating for custom component

I am working on a custom component for a Filament dashboard but it looks like Tailwind classes that aren't already used with Filament are not generating. For example to test; adding a red border( border-red-500 ) shows in the source of the page but that classes is not generated

Conditionally display either checkbox or radio button in Repeater

Is it possible to display either radio button or checkbox in a repeater depending on what other field was selected? I did this but doesn't work ```php...

relationship datetime property not hydrated when in relationship group

Hey i just encountered something weird and i am wondering if anyone else encountered this (before submitting a issue on github) (using postgres btw) Imagine you have a:...

Way to Optimize Navigation badges counts

I have a query that get the count of a model for each resource in Filament. It's taking to much time now since there is so much data. is there a good way to get it without using the cache?
Solution:
Ensure you've got your database indexes optimised, and count really shouldn't be taking any time at all. You could use a persistent view within your database structure to store your counts...but really modern databases don't need these workarounds....
No description

Hello

I am currently learning the laravel and filament I created a demo dashboard and every time i tried to create a new record of any model/table through the dashboard the redirection of the edit page just falls after minutes it redirects also after that long redirection time the whole app starts crashing in every route within filament dashboard tried and tired of AI responce it is solving the issue 🙂...
No description

Page without Sidebar / Top menu

I've got a Page that I want to exclude the top menu and sidebar. I don't want to use SimplePage, as you lose the route, and probably some styling etc. Is there not an easy way to achieve this?...
Solution:
No worries Matthew, I'll help.... Just add: protected static string $layout = 'filament-panels::components.layout.base'; to your page file....

Why tailwind classes not working in custom page html design

I am creating small app with Filament. When i want to custom design then tailwind classes not working. Should we install with npm or its already install while Filament installation?
Solution:
Probably need to create a custom theme, otherwise the classes you want may not be available https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme

doens't show the showing result table cluster

hi guys , can you help because it doens't show the result below on the table
No description

Open view modal on table row click without `ViewAction` in `recordActions()`

Hi all I'm trying to make clicking on a table row open the view modal, without including the View button on the row. Clicking the row works fine when ViewAction is in recordActions(), but if I remove it from there and do this:...

Select Field Multiple Searching

I have a select multiple field on my Media Resource, with a dropdown to select from the Products table. My Media model has uses a relationship to my Product model. My Product model is quite large, but nothing I can do about that at this stage as it has a lot of different fields. I can see it can take up to 15 seconds to get a response for the user when they type a phrase into the search....