Filament

F

Filament

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

Join

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

url() validation gives me valid url

Why that link gives me invalid URL? ```php Forms\Components\TextInput::make('link') ->url() ->prefixIcon('heroicon-m-globe-alt'),...
No description

ViewAction slideOver render hook

Is it possible to inject a view using render hooks to the ViewAction on a table? I need to globally (hence render hook) inject a view to all slide overs from a plugin

Set custom page navigation as active without custom navigation

As the title suggest, I need to set navigation item to active without using isActiveWhen from registering custom navigation https://filamentphp.com/docs/3.x/panels/navigation#registering-custom-navigation-items

import modal description

Hello all, Please I want to make import action like the image attachment, but wen I add modal description then (Download CSV file) disappear, Is there any way to keep it?...
No description

make realtion manager command, unable to find component issue

after i run the
php artisan make:filament-relation-manager AppointmentResource Client first_name
php artisan make:filament-relation-manager AppointmentResource Client first_name
then i add the class to the getRelations reload the page and got this error
Unable to find component: [app.filament.resources.appointment-resource.relation-managers.client-relation-manager]
Unable to find component: [app.filament.resources.appointment-resource.relation-managers.client-relation-manager]
...
Solution:
ok sorry, just needed the
php artisan filament:clear-cached-components
php artisan filament:clear-cached-components
...

Insert Action Button on Custom Page

Hi everyone, is it possible to add action button on the custom page? I only able to put it on the table Thanks...
No description

Allow view without view_any

So I have this user with view but without view_any in their role. I want them to be able access ``` /admin/books/1...