Filament

F

Filament

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

Join

Integration documentation with stancl/tenancy

Hi, Anyone can share documentation or step-by-step integrate stancl/tenancy? I follow https://gist.github.com/Hegabovic/81d63f16dcceac16ecbdd0c3722857ae with no luck and seems not updated with my environment (Laravel 11, Filament 3). Thanks,...

How to disable the previous button on Wizard Form

The question is self explanatory. Found one question which was the same but it does not work. It's visually disabled but you can still click on it and go back. ->previousAction(fn ($action) => $action->disabled())...

Remove Dashboard Page

How do I remove the default dashboard page from filament and how when login is directed to another route, for example route products? I have deleted or ->pages in AdminPanelProvider but why does the Dashboard Menu still appear...

EditAction in Livewire component

I have this Tree Structure where I want to edit each individual element. I'm using the Filament modal to handle this and rendering it like this: ```php <div> {{ ($this->edit)(['post' => $item['id']]) }} ...

Loading indicator in forms

I have some logic in afterStateUpdated() that requires some time, how can I show some loading indicator to let users know something is happening and that they should wait?

UserMenuItem with User Tenant Switch Option

I want to have tenant switch option in UserPanel and TenantPanel user menu item area in top right corner in menu drop down of panel. How to achieve this.
Solution:
Render the view in both places.

Frontend page not get header in filament

can anyone please help me out i didn't get header layout on my product page <x-filament-panels::page> <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6"> @foreach ($products as $product)...

i jump into other forms when i click next button

how i implement that should be remain the specific form when click next button
No description

Filament Rich Text Editor not clickable when we add multiple Editors in same form

Here is my form: Forms\Components\RichEditor::make('details') ->required() ->extraAttributes(['dusk' => 'details'])...

How can I enable JavaScript functionality on the Blade select component in Filament?

Hi, How can I enable JavaScript functionality on the Blade select component in Filament? Select Blade component...
No description

Problem with tooltips style not contain the whole text

so i have this problem where my tooltip style somehow stopped in the middle and not cover the whole text? how to fix it?
Solution:
It's because you have entered a single line of text with no breaks, what words do you know that long? You would need to force break the tooltip text with css if you are doing that.
No description

Undefined const "perPage"

This happens when I implement to my blade the filament component for pagination with dynamic page.
No description

record

In Managing relationships -> Attaching and detaching records, I want to use table to select, what should I do? I don't want to use select to attach
No description

Partial Tenancy

I am trying to setup my panel to have partial tenancy. Ideally the dashboard, a and a few pages does not required a tenant to be selected or existing. While other resources should be tenant specific and only show when a tenant has been selected. Is this possible?...

Print InfoList screen

Hi, is there any way to print just the Infolist screen? Thanks
Solution:
Hmm, yea. It’s possible, but not out of the box. There’s no print tailwind classes in filament out of the box. But it’s possible with a custom theme.

Action is always loading when running a laravel process

The main goal is to run a laravel process that starts a local game server. However, after running the process (and while its running) the action is always "loading" as shown in the picture. I understand why this is happening, but I was wondering if there was a way to get around it? After clicking launch, it should start the process and stop loading. Here is my code so far ```php <?php ...
Solution:
I would look into jobs and listeners and how you can leverage them with reverb.
No description

Implementation Of Tables within Expandable Row

Hi fellas, I Have a bit of challange to create expandable row with tabs within. And each tab should have own table (Preferablly livewire with implementation of Filament tables), is there any way to do it?

Change the default value of the image crop format

Hi, is it possible to change the default value of the image crop format in the editor? Thank you.
Solution:
Hello, I found out why FREE is not activated at startup. It is due to the presence of values ​​in imageResizeTarget. If there are values ​​there, it starts keeping these measurements. So, in fact, it is not a BUG, ​​but rather expected behavior. Once again, I thank you for your help and your time.
No description

Creating a child Table class that uses inheritance on a List page.

Hi All, I have been using inheritance to create custom classes for Filament objects I want to customize. For example: ```php...

Selecting and uploading a file via a modal window (file browser)

Hello everyone. I need a file field for a form. When I click the "Select" button, a modal window (file browser) will open with files already uploaded to the server. In this modal window, you can upload new ones, delete old ones, and select any for the current form. Are there ready-made plugins or solutions?...