Filament

F

Filament

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

Join

how to mass show or hide toggleable table columns

how to mass show or hide toggleable table columns

Loader Indicator On Create Another Button

Hi, I have an issue here when doing extraFooterActions ```...

ImportCompleted event not triggering.

Hello. I've got a question. How could I manage an import when there are no rows in a CSV file?. I'm relying on "ImportCompleted" event in order to do some processes when the import is completed. Unfortunatelly i've noticed that uploading an empty CSV (headers only), the event is not called.

Making Conditional Dropdown

I'm making a form to make a user, here I want to give the condition if the role is not the head of the study program, the study program dropdown is hidden. how do you do it? Maybe anyone knows Oh yes, the roles is taken from the shield and I have set the access rights Thank You 🙏...
No description

FileUpload field inside relationship launch exception on edit

I have create a filament resource, the model has a "hasOne" relation to other model with a file_path field. In the parent form I set: ```php Group::make()->relationship('related')->schema([ FileUpload::make('file_path'), TextInput::make('related_data'),...

repeated pivot table records displaying incorrectly in relationmanager table

I have a many to many relationship between Subject and Event models with an event_subject pivot table that has an additional 'iteration' column. A Subject-Event combination can be repeated with the iteration column identifying each instance. There is an events relationmanager table on the Subject View page which is supposed to show each linked event. However, while the table query returns the correct data, including the pivot table's iteration column, the table displays the second iteration of a particular event using the identical data as for the first iteration. In other words, I get two records for a particular duplicated event, but both display iteration number 1, even though the second record has iteration 2 in the database....

tab with datatable in resource edit page

Good morning, For my application I want to show two tables in the edit form of a resource using tabs, I've currently accomplished this using livewire pages and loading them like this. The livewire page is just a div with the
{{ $this->table }}
{{ $this->table }}
. So not too complex. Except I've started running into some bugs. Where for example on clicking delete, the modal wouldn't appear making it practically not possible to delete the record. Or one of the two datatables disappearing. ...
No description

How can I make a multi-line tooltip?

now i have a tooltip with one word inside, i want new words/sentences to be added to this tooltip under a certain condition. i tried using /n html, blade but nothing helped. usually they are just written as a normal string (screenshot 1) The tooltip is on ToggleColumn
No description

Address retrieval with api

I want to implement automated address retrieval with an api. Customer need to fill postal code and house number. Anyone has recommendations for this?

Mailable template $message not available?

Hello, I have published the Laravel mail templates, and added in my header: $message->embedData(…)...
Solution:
Ok, so the « problem » actually comes from Laravel. The password reset uses a Notification, not a Mailable. And the $message variable is not available in a Notification the same way. That explains!...

Help: Filament Action Record Context Issue - Custom Implementation

Hey everyone! I'm working with Filament actions in a custom context and running into an issue with record context. The Problem: In my blade template, when I dd($action) it shows the record is attached ✅ But when the action executes (user clicks), $record is null in the callback ❌ ...

Edit profile - password not saving

In v4, I have a custom Edit Profile page, which just adds first_name, last_name and username fields to the default form, extending Filament\Auth\Pages\EditProfile. Everything works great, including respecting the global Laravel password validation rules defined in the boot method of the AppServiceProvider. However, when saving the form, the new password isn't saved, and I still get a success message. Validation is done correctly. Any pointers?
Solution:
Did you check if the password property is in the $fillable property of your User model ?
No description

Adding a confirmation dialog to makeModalSubmitAction

Hi, I am trying to add a slideover modal form, where I have 2 submit actions, with different conditional logic. I currently have a wire:confirm on the submit action that I would like to move to a filament native confirmation, no matter what I tried I could not get it to work. Any help is appreciated. ```php return $action ->slideOver()...

api 405 error

i am trying to get a post response to my application from stripe cli. but i get this message. anyone knows what is going on? ```PS D:\My Files\Workspace\my_projects\inventorymanagement> stripe listen --forward-to http://inventorymanagement.test/api/stripe/webhook --headers "Accept: application/json"
Ready! You are using Stripe API Version [2024-10-28.acacia]. Your webhook signing secret is
2025-08-05 11:46:46 --> charge.succeeded [evt_3RshSDLekfvdfPo12NIU3IZ9]...

Help: Failed Export Tenancy

Hello, I'd like to ask if anyone has experienced any issues exporting tenancy with https://tenancyforlaravel.com/. When I export a queue, it always fails, unlike when I export it from the central domain, which succeeds. I've also adjusted the database schema so that the central and tenant sections of the queue have the same tables....
No description

sidebar navigation close by default

Is there a way to always default the sidebar navigation to close when on a mobile viewport? I dont want the navigation to always be the first thing I see on smaller device viewports

V4 How to make a text field copayable?

Adding a suffixIcon and making it clickable should work, but we don't find anything inside the v4 docs that helps us with this.

Disable Submit on Spatie File Upload

Hi, I am having an issue with Users being able to submit form while Sptie is doing upload. Is there a way to disable temporarily button on upload?...

Assign record for EditAction

Hi there. I have a custom page where I'm building a standard HTML table and want to have an EditAction associated with each row in the table, but I cannot figure out how to assign the record to the action. I've tried many different ways with no success. I'm sure it's something simple, but I can't seem to figure out what I'm missing. Currently, when I click the button I get an error saying the record is null. My current code looks like this Relevant part of the blade file: ```@foreach ($this->open_enrollments as $open_enrollment)...
No description

v4: set TextEntry state from handleRecordCreation

I want to display an error message in a TextEntry when record creation halts. What should I try to do that? There is an example here for sending a Notification but I want to display the message above the submit button so its easier to notice https://filamentphp.com/docs/4.x/resources/creating-records#halting-the-creation-process...
Solution:
Schema is defined static but you can access the regular properties like this ->state(fn ($livewire) => $livewire->error)...