Filament

F

Filament

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

Join

activity log to arabic

how to handel translate to arabic
No description

Import CSV, Merge Columns

Hi Thanks for looking / reading. i hope you can help i have a "Code" Column in my DB and the CSV files i get come from multiple sources and could be named differently in seperate columns e.g EAN, Code, PipCode . . . is there away i can select multiple fields "EAN, Code, PipCode" , im still searching the inter-web for some help .. thought i'd post in here whilst i keep looking...

Unexpected Dehydration of Hidden Fields with statePath

Why are fields that are hidden and located inside a Section with a statePath dehydrated, and how can this be avoided (while still using statePath)? Normally, hidden inputs should be hidden. Or not? Example: ```php...

Missing tailwind classes; how to fix it ?

I added tailwind classes but it seems not all tailwind classes are working. how do I fix this issue? ```html <div class="space-y-6"> <!-- Adds spacing between sections --> <!-- Intro -->...
No description

Panel login - 405 Method Not Allowed

Oops! An Error Occurred The server returned a "405 Method Not Allowed". Something is broken. Please...

What different `Filament::auth()->user()` & `auth()->user()`?

When shoulbe use Filment auth instance of auth()?

Modal Action halt and autofocus

I have a modal action with one input field. When opening the modal, it should autofocus this input. After the action is done, it should reset the form and autofocus the input again. With $form->fill() and $action->halt() I can clear the form and keep it open, but the input isn't autofocused? ```php...
Solution:
try this ```php ->action(function (array $data, self $livewire, Action $action, Form $form) { $form->fill();...

Searching encrypted columns

Is it possible to search encrypted columns in filament tables? In my DB, i encrypted a users first_name, preferred_name and last_name, then have a full_name attribute. Here is the code I use to display the users name in the table, but search just doesn't work - I assume because search works on the DB, where the columns are encrypted: ```php Tables\Columns\TextColumn::make('full_name') ->label('Name')...

404 in modal after deleting a record on a custom page

I've got a custom page where I list records and for every record I load a custom livewire component to manage the recoord based content in a filament section. Under each section I have a DeleteAction to delete the record. When I click the button the confirmation modal opens and if I click on confirmate the record is deleted. But the modal don't close and shows instead a 404 Error. If I click away the 404 error disappears and the confirmation modal is shown again. Now, if I click on cancel, again a 404 error is shown. If I click again away from the modal, the modal is at least closed. But the page doesn't refresh. I've no idea, what I'm doing wrong. The createActtion on the same page is working as expected. ```php use Filament\Actions\DeleteAction;...
Solution:
Thanks for your proposal. Unfortunately the 404 error doesn't disappear. At least I found the error: For the record of the delete action i used
->record(fn(array $arguments): ProjectDataImportTable => ProjectDataImportTable::findOrFail($arguments['id']))
->record(fn(array $arguments): ProjectDataImportTable => ProjectDataImportTable::findOrFail($arguments['id']))
...

Can't log in after converting user to have first_name and last_name

Hi. This is going to be really simple. I have done this before, but I can't for the life of me figure out what I have missed. I spun up a fresh Laravel project, installed Filament, and could log in. I then amended the migration to have first_name and last_name and using UUIDS. Then amended the User model and added HasName and the function ``` public function getFilamentName(): string...
Solution:
If I remember correctly the sessions table migration uses foreignId instead of foreignUuid

Images only visible on my machine in Laravel + Filament project

What I am trying to do: Display images stored in Laravel using Filament, and ensure they are visible to others who clone the project. What I did: I successfully configured everything on my machine. I ran php artisan storage:link and updated the .env file with APP_URL=http://127.0.0.1:8000. The images load correctly for me. I shared the project with a friend via GitHub....

Modal in getHeaderActions keeps submitting parent form

I might just be bad at RTFM'ing, but whatever I do my submit action in my modal in getHeaderActions keeps trying to submit the actual resource form. The action: ```php Action::make('save_as_template') ->label('Save as Template') ->icon('heroicon-o-document-duplicate')...

notification position v2

Hi all. I am looking for a approach towards repositioning the notification ui programmatically. I am using filament notification in isolation and not with the admin panel.

How do I add a custom label inside the header of table?

I want this to show up on the tables header how do I do this? 44 people (44 active, 0 inactive)
No description

How to add custom sort query?

```php TextColumn::make('groups.status') ->label('Status') ->sortable()...

Custom Action on custom column.

Hello everyone, Is there any way to add custom action on custom column: ```php use Filament\Tables\Actions\Action; use Filament\Tables\Columns\Column;...

How to handle custom complex queries in Filaments table

I have a sample query and I wanted to integrate this result and displa it to the table, I also want a search capability. ```php group() ->users()...

Help on setting up multi-model Resource management through single page

Hi guys, I'm kinda new to Filament and Laravel and I am trying to put together an application that can be used to manage appointments for companies, to accomplish this I am trying to setup a single Resource page to manage a Model and its underlying relationships (see screenshot and description below) Description of the class-diagram...
No description

production.ERROR: Livewire encountered corrupt data when trying to hydrate a

I have This Log After Installed self hoster ssl + reverb config using nginx full log [2025-05-13 19:24:00] production.ERROR: Livewire encountered corrupt data when trying to hydrate a component. ...

badge on the hamburger menu ?

Anyone point me to a solution for putting a badge on the hamburger menu button that appears for the smaller viewports ?
Solution:
Solution I went with: In the panel: ` ->renderHook(...