Filament

F

Filament

Filament is a collection of beautiful full-stack components for Laravel.You can get help using it on our Discord.

Join

I get Class "App\Filament\Pages\Dashboard" not found after removing Dashboard on Production

I wanted to create a custom dashboard instead of the default panel dashboard. I named my custom dashboard class something other than Dashboard, which I had no issues with when developing locally. Then when pushing my changes to Production (Staging environment), I get the Class "App\Filament\Pages\Dashboard" not found error. Has anyone else experienced something similar? It is very strange that I get the error on production but not locally....

Auto-Closing extraModalFooterAction is buggy

Hi everyone. I have defined headerActions on an EditRecord page that should call a modal form. In the footer there are not the standard actions, but a kind of paging function and separate actions for saving and closing. For this I use the function extraModalFooterActions(). For closing, I create the following action in extraModalFooterActions():...

How to change the Fields Color

I'm a newbie in PHP development overall, I try to make form using Form Builder and I'm trying to change the label color into black. I already try using extraInputAttributes and extraAttributes, but the color just won't change. Also how to remove the extra arrow in the Select Fields. Thank you in Advance 🙂...
No description

Filament Registration page

I want to add some text in top and bottom of the Filament registration form. which i highlighted in yellow color . How it is possible any one can help?...
No description

Multiple Filament tables on a Livewire component

I just wondered if there's a simple way around this yet? As opposed to using two separate components?...

Header and Sidebar Customization

I want to customize some styles on the header and sidebar, how should i do this?

Policy depends on request path

Hello All, I have the following problem: I have a [event] resource and the resource view page have a couple of relations (eg. attendees, vendors, etc). ...

using vue js inside livewire component

Is it possible to implement use vue js inside livewire component in filament?

Custom field button color

I create a custom form field to record voice. How to change <x-filament::button> color when i click on it. This is my button code: ``` <div> <x-filament::button...

'App\Livewire\CertifiedCompanies' does not implement method 'makeFilamentTranslatableContentDriver'

Hi, I'm creating a livewire component in filament, but even though I follow all the instructions, I get this error. 'App\Livewire\CertifiedCompanies' does not implement method 'makeFilamentTranslatableContentDriver' I'm adding my code, but it's super basic. `<?php...
Solution:
I've already solved it.For those who have the same problem, even if you're not going to use the form, you also have to add the HasForms

Use Array in Table Builder

i had atttatched my code in attachement i want to pass array as in table builder no query then how to do that? please help.

Table Grouping

is it possible to have my own custom view for Filament\Tables\Grouping\Group

How can I add a property to a page (like the record) that still exists after a livewire update call?

Hello everyone. I have created a resource which is dependent on another model, so that the URL looks like this: “/6/control/1” or '/{group}/control/{record}' I then resolve this group attribute in the mount method (“in a ListRecords”) so that I end up with a model. The problem now is that when I click on an action, for example, a livewire call is returned. Filament then somehow manages to “restore”, unfortunately I have not found where this happens, but I would like this to happen with my group property as well....

Breezy & Filament::getTenant()

I have several pages sitting outside the panel, which I don't want to have to re-write from scratch as they are complicated, and we've got more urgent tasks. We had them workign an integrating fine, using the auth and even multi-tenancy. However, after installing Breezy, the Filament::getTenant() function, for pages outside of the panel is returning null...

table performance

is there way to improve table performance i try all posible solution in web disable xdebug in php and run php artisan filament:optimize...
No description

getTabs in a widget - is that possible? How?

I have a Table Widget which displays some data. I want to get the active Filter to manage a query. I found https://filamentphp.com/docs/3.x/tables/filters#injecting-the-current-filter-instance but I don't know if this is what I need. How may I implement it correctly?...

Afsakar OTP Login

Im using Afsakar Filament-OTP-Login Can someone enlighten me on how to implement a loading indicator when "Sign In" button is clicked...
Solution:
Added loading indicator v1.3.6

Add TextArea as a blade component

I'm currently looking at this documentation: https://filamentphp.com/docs/3.x/support/blade-components/input Is there a way to add textarea in blade?...

How to change the Resource Title?

I used this for the navigation label but what about the actual title? ```php public static function getNavigationLabel(): string {...
Solution:
Figured it out, its in the ListRecord page, getTitle()
No description