Filament

F

Filament

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

Join

TypeError: Cannot read properties of undefined (reading 'uri')

Getting this error on production server, unable to login. VM1803:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'uri')...

Hey everyone, I need some help to upload image

Hey everyone, I need some help. I just deployed my whole project to a VPS using Docker. The app itself is running fine, but Filament isn’t working properly when I try to upload an image — it throws an error. From what I can see, the upload doesn’t go through and I get this message (screenshot attached). It seems like the file upload path or permissions inside the container might be misconfigured. ...
No description

Call extra item action after add repeater item

How can i call extra item action after add repeater item?

Export Action Custom Values

- is it possible to change the starting row? - is it possible to put a custom value on a specific cell?...

Table add multiple headers

Is is possible to add multiple table headers to a table? Something like this:...
No description

Test Section header action

How can I test an action that's inside a Section header: ``` Section::make('Search') ->headerActions([ Action::make('csv_import')...

Custom async alpine component field with vite and without panel

I have an existing laravel installation with filament components (without the panel builder). Now I want to add a custom field with an async alpine component and do not want to install esbuild since I already have vite. In my app.js file i register the component. ```js import {Livewire, Alpine} from '../../vendor/livewire/livewire/dist/livewire.esm'; import AsyncAlpine from 'async-alpine'; import './bootstrap'...

Does filament add a default orderBy to relation manager queries?

Hi all, I have a simple relation manager but running into this error when its loading:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'order clause'
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'order clause'
...
Solution:
Managed to fix this by using
->defaultSort('address_id')
->defaultSort('address_id')

Datetime picker always casting the state to carbon

im using flatpicker package, when using rangepicker the string is like this "2025-11-01 to 2025-11-05" so i get error because carbon cant parse it. is there any work around? this is my code ```php Flatpickr::make('date')...

(Repeater) Set other toggles to false when a toggle is set to true

What I am trying to do: I'm trying to make a quiz inside a Wizard. In Step 2 I want to add the questions + options. What I did: I editted the CreateQuiz class and added a Wizard inside of it....
Solution:

How to manage roles from multiple panels

I have a panel company (multi tenancy) and a panel super-admin. How to manage the roles and permissions of the company panel resources in the super-admin panel ?...

How to close a modal with EditAction?

So, in my modal, which extends EditAction, i have a form, but i also have a delete button, clicking this does delete the entry, but the modal never closes. I have tried everything, dispatch event, close-modal event, cancelParentActions, nothing closes the modal, any suggestions?

Weird issue with reorder button on test/prod, but not on localhost.

I've recently discovered a strange issue with the reorderable() trait where the 'save' button moves to the right instead of staying on the left, where the button is supposed to be. Expected (on localhost): Image 1 and 2. ...
No description

Extend group action label

Is there a setting to fully display the label of group action dropdown, rather than cutting it out?
No description

->topbar(false) is causing sidebar header to be display: none

What is the reason for this? This is the output code: ```<div class="fi-sidebar-header-ctn"> <header class="fi-sidebar-header"> <!--[if BLOCK]><![endif]--><!--[if ENDBLOCK]><![endif]-->...

Query string table filters do not work with custom pages and HasTable.

I'm trying to build a custom page to display a list of data using a HasTable. I also tried to add a filter, but then I realized that it doesn’t include a query string when I apply any filter — unlike the table from a resource.

[BUG] Dutch valid phone number fails in TextInput `->tel()` regex

Hi Filament Team, This phone number: +31(0)6-57999009 is generated by faker and is a valid phone number format in The Netherlands. But my test fails sometimes because the regex does not accept this format....

Disable observeTenancyModelCreation

Hey everyone 👋 Quick question — is there a way to disable Resource::observeTenancyModelCreation()? I tried setting $isScopedToTenant = false, but that didn’t seem to do anything. ...

Call action on page load, but with action button hidden

Hi, i have $defaultAction property set on custom page. It is working ok. Default action is triggered on pageLoad. But I would like to hide action button. If I set visible(false) action is not triggered. What is the purpose:...
Solution:
ok, fixed it. extraAttributes and display:none;

Modify global search query

I would like to tweak the generated SQL query for global search. In the below example, I'm querying the user_id, firstname, lastname and email fields. I would like to do things like: 1. Not bother searching firstname, lastname or email fields if the search term is numeric....
Solution:
You can overwrite the public static function getGlobalSearchResults(string $search): Collection to have complete control over the results.