Filament

F

Filament

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

Join

Native datepicker setting a value

I have had some weird issue with native datepicker not accepting any input when the value is set with $set() the input remains empty. ...

Any way to get table selected records outside the table function in a custom page

Hi guys, i have a custom page with table and forms, the table is selectable, i need to get the selected records outside of the table function in another function in the custom page. i tried $this->getSelectedTableRecords() but returns empty always, is it even possible?

Exporter : get visible columns only

Hello everyone ! I'm currently trying to export my table, following the doc, everything went well. But now I need to export the visible columns (which are defined by TextColumn->toggleable()) but I am not able to find how I can get those columns in the getColumns() of my CustomExporter.

Relationship not saving on update

```php Forms\Components\Select::make('locations') ->multiple() ->relationship('locations', 'name') ->preload()...
Solution:
Oh, im dump. I was accidentally syncing an empty array somewhere else in my code. Oof

Custom Schema V4

Hello, i have a problem with making new custom Schema in InfoList I want to make new instance of Schema and working ith custom data inside an ```infolist $customSchema = Schema::make($livewire) ->record(User::first()) ->components([...

mutateRecordDataUsing in Replicate Action not firing

I try to replicate a record with the prebuilt replicate action and want to change a field with a unique constraint before it is saved via the mutateRecordDataUsing() method as is described in the documentation. But the methods is never called, no mutating, no logging from this method. I just get an SQL error [2025-07-04 08:17:56] local.ERROR: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "roles_name_guard_name_unique" The complete getHeaderActions method looks like this: ```php...

RichEditor (tiptap) link always adds target="_blank" regardless of "open in new tab" option

In Filament 4.x beta, using the new Tiptap rich text editor, adding a link always results in target="_blank" being added, even if the "open in new tab" checkbox is unchecked.
<p>Hello <a target="_blank" rel="noopener noreferrer nofollow" href="https://example.com/">world</a></p>
<p>Hello <a target="_blank" rel="noopener noreferrer nofollow" href="https://example.com/">world</a></p>
Tested rendering with both:...
No description

Using both afterStateUpdated AND afterStateUpdatedJs

```php TextInput::make('title') ->live(onBlur: true) ->afterStateUpdatedJs(SlugGenerator::slugifyWithJs(fieldName: 'slug')) ->afterStateUpdated(function (?string $state, Set $set, ?Model $record) {...

If I created a custom field, where do I manage the livewire interactions?

I created a new custom field ManageGroupSetting and it has a sortable.js ```php <?php ...

Pop up notifications with broadcast with reverb

I'm trying to get Notifications to pop open when an event comes in with reverb. Currently the notification show up where the bell is, but it doesn't pop open like they would if you just use ->send(). User b send an notification to user a via broadcast. On A screen I want the notification to actually show. I can't seem to get it to work. Notifications are being send and received....

spatie media library count in column

Hi, Im guessing it's simple but I can't find how. Using the Spatie Media library plugin, how can I simply display the number of media per model in a table? ...

Prevent duplicate query with custom slug

I'm getting multiple duplicate queries on some pages. Sometimes I reload and it doesn't give me the problem, and other times it does. How can I find out where this comes from? A screenshot is attached....
No description

Possible to trigger an AttachAction within a relation manager?

Hello, I have my resource editrecord page split in tabs for relation manager, I want to place a button within main edit page, which should trigger the Attach action from a relation manager of the resource is it possible to do that?...

Best way to display a public filamentphp form?

Hi all, just wondering the best way to display a filamentphp form on a public page. I've created a livewire form, and I'm pointing a public route to it, but the styles are all missing. I scaffolded the lirewire layout which created the app.blade.php - but how do i get the styles and scripts in that layout file to make the form feel filamentphp native? Thanks!

FileUpload Grid Layout

Actually there is no option to have more than 3 columns using grid layout or to change the height of the preview container. When I'm trying with css, the preview container size isn't editable (maybe all calculation is made with js) Should I post a ticket on github ?...
No description

Class "..." not found in tests

Im using Pest to do some testing, however, my classes cannot be found. In: tests/ I have a test file, that includes the following code: ```php <?php ...

Mobile App View

When I wrapped my Filament app using Capacitor, the top UI elements (like the menu and login) are overlapping with the iOS status bar. How can I adjust the UI so that it starts below the status bar, like other native apps in mobile view?
No description

Translatable language switcher reactive status

On a field I like to have the actual language set via language switcher, something like: ``` Forms\Components\TextInput::make('sharing_link') ->hiddenLabel() ->live()...

Get the titles of fields in indicators for filter with form (schema)

I have this code ``` Tables\Filters\Filter::make('state_district') ->form([ Forms\Components\Select::make('state_id')...