Filament

F

Filament

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

Join

Help: Can't get form value in edit page

How can I get the 'correct_option' value in edit page when I set it in repeater. I used $this->data in edit page but the value of correct-option is always null...
No description

Settings Grid Help

Hello all, can someone please tell me the grid to use if i need to have things like double panels on the settings page? Found it somewhere and cant find it right now. Thanks

Help: Loading indicator on submit button.

I use custom livewire page with fialment form and action Livewire Class: ```php public function form(Schema $schema): Schema {...

->relationship() on form field directly?

I have a relationship field: ` Select::make('gender') ->options([ 'male' => 'Male',...

Select field doesn't render

I just updated to version 4, and the Select fields do not render properly at all. This is my Select code: ```php Select::make('country_id') ->relationship(name: 'country', titleAttribute: 'country_name')...
No description

Nested modal actions inside Infolist action modal not opening

Hey I’ve encountered an issue when using modal actions inside another modal, specifically within an Infolist action on a ViewRecord page. ...

Filament v4 upgrade

Hi, I'm getting an error that googling doesn't help with, this running composer update right after running the automatic upgrade script and requiring v4 versions of the plugins and filament: Object of class BezhanSalleh\FilamentShield\Support\ShieldConfig could not be converted to string
No description

Sub-Tenancy ?

I have a Filament panel where the tenant functionality is active. Each tenant consists of multiple sites. Now, I want to create another panel where I can manage the documentation for the sites of the respective tenant. What is the best way to implement this in Filament? As far as I know, there is no built-in "sub-tenant" functionality....

Slow application on production

Hi. So basically I deployed an application to a Digital Ocean droplet using Laravel Sail to make my life easier at the deploy and I'm facing really long loading times even in the dashboard, and when going to a resource table it can take up to 10 seconds to load. The same slow behavior happens when switching pages of the paginated table or going to a specific record to edit it. If you need more details or screenshots of certain information let me know and I'll provide them. In my local development I'm using Herd and it works just fine....

No proper debounce for Edit Modal in RichContentCustomBlock

When using a RichContentCustomBlock, inserting a custom block loads the preview, and editing opens a modal. However, clicking the 'edit' button multiple times opens the modal again, and closing it via 'cancel' often triggers errors like "Undefined array key "mode" " or "Undefined array key 'id'". It seems the config isn’t properly cleaned up on subsequent modal opens, possibly related to mountedActionShouldOpenModal in CustomBlockAction. Is there a clean way in Filament to handle this for a custom block extending RichContentCustomBlock?...

Replicate action with custom after logic

I'm trying to add some additional logic to also sync relationships to the replicated model and not only the model itself. And due to a complex relationship setup I also need to do the replicate the model without events. ```php class ReplicateReportAction {...

Compact Table style that resembles the RepeatableEntry Table

Is there a way in filament to make a table compact? It is already being done with a RepeatableEntry table - it looks quite nice, in fact. I would love to have that option in a true filament table. Normal Filament Table...
No description

Form in Action

I recently install v4 and try to use forms inside action like v3 but i could not found in the documentation and php storm marked it as deprecated. Can anyone give me the documentation link to it.

Running command 'php artisan make:filament-table <TABLE_NAME>' error

I am having an error when I am trying to create a filament table class for 'ModalSelectTable' , how can I fix this issue? Thank you! ``` Symfony\Component\ErrorHandler\Error\FatalError ...
No description

Why is my Filament/Livewire component's UI always one step behind state changes?

Hello, I'm facing a synchronization issue with my Filament page. When I click a button () to change a public property (), I expect a new form section to appear immediately.Load Data$this->loaded = true However, the UI doesn't refresh to show the new section. The new section only appears after the next interaction with the component (e.g., clicking another button). It seems like the UI is always "one beat late" or "one step behind" the actual state....

v4 RichEditor: can we make it a good experience for editing A4 paper size documents?

Hey there, v4 is amazing! I'm using it to build a contracts templating system. As you might know, this is normally done editing A4 paper size and I would really love to use the native RichEditor here, with it's awesome functionalities like the merge tags and blocks, but I'd like for it to at least have a feel of a tool like MS Word or TinyMCE etc. Catch is, I need a free alternative here, which I believe ain't the case for TinyMCE. This could really just prove to be a CSS thing maybe?And could even turn out as a Plugin for the native rich editor and I'd love to contribute on that if it is indeed the case....

Nested resources & policies

Hello folks! What a wonderful framework! I'm quite new to Filament so I'm sorry if this has been asked before, I've read the documentation dozens of times and done my due diligence on Google as well as asking the lying machines, I can't figure this out....

RichEditor: Dynamic mergeTags based on other fields value

I am building simple email templating, and want mergeTags to be dynamic based on other fields value. When I select entities field, the mergeTags should have now have value based on the entity selected. but mergeTags, still the same with initial value even after form update....

fileAttachmentsAcceptedFileTypes and fileAttachmentsMaxSize methods don't exist

Hello, currently I am building a article CRUD using Filament 4. I already follow this documentation, but I have this error. https://filamentphp.com/docs/4.x/forms/rich-editor#validating-uploaded-images ...
No description