Filament

F

Filament

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

Join

Plugin Author Question

Hey Y'all, this might be a naive question, but if we update our plugin's README.md, does that update automatically appear in the Plugin Directory? Or does a new deployment of the FilamentPHP.com site need to occur first? My plugin is already listed.

Plugin like Divi or Elementor for Filament?

Is there a plugin to build a custom page? Something like a page builder like the ones in WordPress, like Divi or Elementor?...
No description

How to prevent escaping & wrapping <iframe> HTML in TipTap Editor?

I'm using TipTap editor and allowing users to paste Bandcamp iframes. The problem is that when saving, the iframe code gets escaped and wrapped inside <p> tags, like this:
<p>&lt;iframe src="...">&lt;/iframe&gt;</p>
<p>&lt;iframe src="...">&lt;/iframe&gt;</p>
...

500 Internal Server Error after instert / update

Env: local Yesterday i installed livewire into my fresh laravel react starterkit installation. I followed all the steps in the quick install guide and it all worked fine...
Solution:
After stumbling across a stackoverflow post and reading one of the comments saying "I too faced this problem. After doing various research I upgraded the version to 3.3.32 from 3.3.0, the problem was resolved. " I did the same ran the
composer require filament/filament:^3.3.32 --with-all-dependencies
composer require filament/filament:^3.3.32 --with-all-dependencies
...
No description

Filament memory exhaustion

I have a really simple filament panel, but any action I do in the app(create, update, delete, anything) seems to be triggering an infinite loop somewhere in the app and the app just crashes. After it crashes I should either re run the migrations or go to the main page and logout in order for Filament to work again. I couldn't find out what's wrong with it, will link the repo below, appreciate any help. This is a university project I am helping with for a group of friends, not proud of anything done in the project....
Solution:
I don't know if it's the case, but Laravel 12.20.0 introduced a breaking change. Filament patched it in 3.3.31 https://github.com/filamentphp/filament/pull/16878...

Dynamic table column updates with reverb and broadcasting changes

I'm building a integration and I'm syncing contact information from a 3rd party service to local table then to another 3rd party service. I want to mark the contact as synced and update the date and time in real time without page loads in the table. That way I can show the user in real time what contact was saved and synced and what needs to change or retry. Does anyone know how I should approach this? ...

postGIS memory issue

hello filament team, im having some issue with the memory on filament relation manager, how can i modify the query in the table of relation manager, even tho i only select the only the fields i need but the boundary is still fetching (postGIS)
No description

How to change wizard submit action text on On the same form for update and create (V4)

Hi i have a same wizard form in both create and update livewire component like so Create Component...

Method Filament\Tables\Columns\TextColumn::isHeaderWrapped does not exist.

I've added the log as well. Now, I want to understand why I'm encountering this error when updating from Filament v4.16 to v4.17 beta. Is this a bug in the new version, or is it an issue on my end? ...

Issue with Incomplete Replication of Related Records in Repeater Field v4 beta

In my use case, I have a Quote model that has a hasMany relationship with a Passenger model. On the Filament form, I use a Repeater field to manage the passengers, and the data is stored in a separate passengers table using the hasMany and belongsTo Eloquent relationships. When I use the replicate() method to duplicate a quote, the main Quote record is copied successfully, but the associated Passenger records are not replicated along with it. This results in an incomplete clone, where the newly created quote has no passengers attached. Expected Behavior:...

Edit Resource Delete Header Action not showing up.

``` protected function getHeaderActions(): array { return [ Actions\DeleteAction::make('Delete me'),...

CORS ERROR: got cors error in one app two domains!

Error! not only widgets but all resources ``` Access to script at 'https://example.shop/js/filament/widgets/components/chart.js?v=3.3.32.0' from origin 'https://example.admin' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource....
Solution:
Thank you so much for you reply. I followed lary's comment that's working https://laracasts.com/discuss/channels/filament/cors-error-got-cors-error-in-one-app-two-domains...

Button in headerActions from table is not clickable.

I have a page that extends ListRecords, I added a headerActions to download all the data from the table list. But unfortunately, I cannot click the button from the modal. See attached image.
No description

On my localhost it works but when I bring it to my host its a black screen

Url/public/admin
Solution:
There should be plenty of tutorials on how to set up Laravel. You should avoid shared hosting. You need hosting where you can configure the document root
No description

Undefined property User$id

does anyone knows why these errors are appearing ? My project suddently started to have this yellow errors in the fillament resource files...
No description

Programmatically change active Tab

Hi, I'm trying to change the active tab of the tabs form component.
I'm using this code to trigger a traditional html click event when a checkbox is ticked. Is there a better way to do this? I tried things like setting the 'activeTab' but it didn't work. ...
No description

Page translatable

What I’m trying to do:
Make a custom Filament v3 Page translatable using spatie/laravel-translatable. I want the user to switch languages and edit localized values. What I did:
- My Setting model uses HasTranslations and stores JSON values correctly. ...

Use websockets and events to perform real time updates on the table component instead of polling ?

Just wondering if there is a way I can use laravel reverb to emit an event saying 'db updated' or something and then have livewire refresh the view for the filament table by running a query to the db. Rather than polling every few seconds via ->poll() method. I can probably hack something together but would rather not if there is some sort of approach people have figured out. also happy to pay for a premium plugin that overrides the existing table component to add these websockets if someone wants to work on that. lol...

Stop form submit when using scanner

My app uses an external QR scanner to read some codes. Everything is working correctly. However, everytime the scanner reads something the form is submitting which is not something I want to happen. Field should only display the value and thats it. Anyways I can control this behaviour...
Solution:
you could try something like this? ```php TextInput::make('qr_code') ->label('Scan QR Code')...

Filament Form Slow with Hundreds of Repeater Rows – Any Solutions?

Hey everyone! I’m using FilamentPHP for a multi-step (wizard) form and I’m running into serious performance issues with a custom table row repeater. I use it with a relationship, and when there are a lot of rows (like 350+), the data sent back and forth becomes huge and the form takes forever to load or update. Has anyone experienced this?...