Filament

F

Filament

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

Join

Using suffix/prefix actions with TextEntry in an infolist doesn't work if the state is empty.

I wanted to create a button/modal to add information when the state is empty. I ended up with a workaround by creating 2, one with action()/placeholder() and one that shows the information with visible/hidden to alternate them. I dove into the TextEntry class and it bails before adding affix actions. I'm wondering if this is by design or just an oversight....

RichEditor migration from v3 to v4: Image captions lost due to TipTap editor change

Hi, after upgrading from Filament v3 to v4, I'm experiencing critical data loss with existing rich text content that contains images with captions. The problem stems from the RichEditor component switching to TipTap as the underlying editor. The Problem: Existing Content Structure (Trix/v3):...
No description

Sticky horizontal scrollbar

Hello all! There is an option to make the horizontal scrollbar and navigation bar sticky at the bottom of the page for Filament tables?...

Validate the form data when using the replicateAction in RelationManager

In my RelationManager Resource I add the replicate action on rows I like to present during this replicate a form with the data so that users can change attributes. Since this is replication existing data it is valid but I have a unique constraint in this case on 2 fields added that should be checked on the replicated data before save and inform the users to change the 1 of those fields. When submitting, the data doesn't seem validated although I have the unique constraint on the RelationManager form....
Solution:
Just to give the solution I think is the best ```php ->unique( // workaround for ignore record on replication...

Its not possible to buy or install Helpdesk v4 plugn

Hi, I found this plugin (https://filamentphp.com/plugins/umnidev-helpdesk) for v4 and it says free but it seems that its not free since it says "You can buy a license for the plugin on the AnyStack website." . I have checked AnyStack website and there are no Helpdesk plugin at all. ...

Repeater Item Label

Hi fellas, Is there a way to set default item labels for Repeater, for example when i am on create form i have 3 default items, I need to set it be id of current it example: Sector {$id} from repeater item. And when i add automataclly to be Sector i++.....

Showing icon in Infolist TextEntry when the value is null

I'm toying with a Infolist and displaying some content using TextEntry. I wanted to add an icon for each TextEntry, but it seems it only shows when the value isn't null. Is there a way to show it even when the placeholder is shown ? Here's my snippet: ```php TextEntry::make('repartition_key') ->label('Repartition key')...

Summary (with grouping) for custom data table

As the title said, there is currently no offcial way to make summary group work with custom data table, since the grouping summary expect a query and table with ->records() has none, has anyone found any workarounds?

Remote Online Assistant

Now Hiring: Remote Online Assistant Positions (Urgent) We are currently seeking reliable individuals for remote jobs hiring now in Online Assistant. These are 100% online working jobs from home with flexible scheduling options, including: • Morning Shift: 7:00 AM – 11:00 AM (Part-Time)...

SUMMARIZER USING CUSTOM DATA

I have a table with a personal data source based on an array. One of the columns is numeric, and when I implement a summarizer, it only calculates the records on the page for the grand total. Any guidance? My summarizer code: protected function getSolicitadoSummarizer(): Summarizer...

Custom record pass to recordActions of resource page

Is resource model always passed to record action in resource pages? Can I set record using ->record($record->client)? I have custom action ClientCardAction and want to pass related client record from invoice in InvoiceResource. Right now I use mountUsing to set record from closure, but dont know is that ok way to do it...

Postgres throws "undefined column" when using searchable in tables

Using Postgres 17, Filament v4.2.0, Laravel v12.37.0, Livewire v3.6.4, PHP 8.4.11. I'm getting an Undefined column error from Postgres when i use searchable on my table. Here's a simplified version of the table;...

Access Parent Record In forms or anywhere of nested resources

I want to access parent resource in form class of a nested resource: `TextInput::make('order') ->label('Display Order') ->numeric()...

Rich Editor how to start line with a hyphen?

Very dumb question but how can you make a paragraph start with a hyphen? If you type "- " it goes into unordered list mode, but if you turn that off the hyphen is removed again. 🤔 https://demo.filamentphp.com/blog/posts/create...

Show Correct Currency Values in Edit Views with Laravel Money

Hello 👋, I’m integrating laravel-money with the following workflow: - During record creation, users can enter an amount in their preferred currency (for example, BDT or USD). - When saving, laravel-money should automatically convert the amount into its minor unit (such as cents)....

Issue with bulk actions options in trash tab

hello. I have the following situation. I have a tab that allows me to filter the table into active, inactive and show those in the trash as I’m using soft delete on the records. Being in the Trash tab and doing a Bulk actions shows me the options to delete selected, force removal of seleleccionados and restore selected which makes me inecesario to show delete selected if already deleted. So how can I make that when this in the trash tab only show me the options to force delete selected and rest...
No description

CreateAction in RelationManager at table headerActions always use related resource form

I am struggel with tring to use fucntion form on Relation Manager class. For EditAction it works well it will always use form defined in RelationManager class, but for CreateAction it use the related Form instead. For example: course has many lessons. I make LessonsRelationManager for Course with relationship called lessons(). In the LessonsRelationshipManager I have public function form() that I defined here. But when clicking at CreateAction it jump to use form in the LessonResource class instead. How I can still use the form that is in LessionRelationManger for this action. I don't find problem in Filament 3, but problem in Filament 4....
No description

Filament Tags Input vs. Spatie Tags

Hello! I'm working on a greenfield Filament v4 project and will need to implement some sort of tagging system; reading through the docs at https://filamentphp.com/docs/4.x/forms/tags-input, I saw the official Spatie Tags plugin, and was wondering if there's anything of a comparison table available. It seems like the Spatie plugin can sort and group by type, but are there any other notable differences I should be aware of?...
Solution:
Filament Tags inputs just converts a list of inputs to a tags selector. Simple. Spatie Tags is a global taggable. component....

Tree?

Hi, is it somehow possible to show something like a tree? I'd like to create a survey, where you can choose some questions where you can answer some with yes/no and a reason. After this feedback, i want to be able to respond to these as well. (So more like a chat than a one-time-response) Is it somehow possible to show this in a filament? Thank you (:...