Filament

F

Filament

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

Join

Update Button Text Color

I can see in the docs how to update the button's background color, but it doesn't say how to change the text color.

ListCategoryPage stuck on Product model instead of Category

I’m hitting a snag: in my ProductResource the default pages (ListProduct, EditProduct, CreateProduct) work fine. I added a new ListCategoryPage to show ProductCategory under the same resource, but it still uses the Product model and lists products instead of categories. I’ve tried tweaking getModel(), mount(), even registered the page in the Resource correctly, but nothing makes it use ProductCategory. Anyone run into this or know if you can have a page with a different model inside a Resource?...

Problem when try to reset password in production

Hey guys i have problem when i try to send the reset password email, i have the same configuration in .env production and local... i mean the same configuration for email configuration, smtp, password, username, etc... Now when i send the email password in local, i receive the email, if you see the screenshot, the message say (We have emailed your password reset link) but when i send the email reset password in production i have problems, the message is other (password.sent) and i have an error in the log. do you have any idea about this problem? ...
No description

Implementing tabs that changes the whole page

How do I implement a tab that will change the whole page and set the url? The current setup of that is that you can click multiple tabs without affecting the url. In my case I have a lots of tabs and some tabs contains tables and I don't want the page to load all the contents of those tabs in one go as it will severely affect the resource and performance on the server. ...

Upload image from table

Hi there! Has anyone ever tried uploading images from a table using ImageColumn? I mean being able to upload an avatar, for example, by clicking on an ImageColumn or something similar....

could we send notification from clientside

I want to implement notification via clientside without rerendering

Is it possible to adjust vertical spacing in forms?

Is it possible to add vertical space between elements in the Form builder? Also, is there a way to make 2 side by side sections the same height?...
Solution:
you can make it with Placeholder component
No description

v4-alpha1 - Tabs do not render on spa

Yes i know its an alpha, Yes i expect issues, no i don't expect support, but it would be nice 🙂 Howdy, Charles from the Pelican Team, Wanted to get a jump on updating Pelican Panel so we have it ready. I've followed the update guide that's in the docs, https://github.com/filamentphp/filament/blob/4.x/docs/14-upgrade-guide.md ...

Select searchable and multiple

Hi everyone. Been pulling my hair out so I just need confirmation that a Form Select component can be both multiple and searchable. I’ve found that if a field uses the multiple() method, searchable() no longer works as expected. Thanks....

I need customize table column

I need the status column of my table to appear like this, so I can add the lock data with each status for that installation. How do I do this?
No description

custom css for table group

is it possible for me to make current table like in image with css ? i able to add button add group header but im abit confused about the css for grouping. just wanna know if its possible or not...
No description

How to style each Repeater-Form item with a background color

Hey everyone 👋 I’m using Laravel + Filament + Livewire and I’m trying to improve the visual layout of my Repeater. 🎯 What I’m trying to achieve: I want each item in the Repeater to have a background color (e.g., light gray), some padding, and rounded corners — like a "card" layout — to improve readability and visual separation....
No description

i want to add a button action in a form tab

Is it possible to add a button action to a Filament\Forms\Components\Tabs in filament the purpose i want to achieve this is that my tab has become very cluttered i want a button on which when i click, a modal opens that will have the form and i click on attach to save the has many relation and on the tab i see the relations attached by introducing a list view...

Tailwind setup not entirely working

So the project route has this layout ```php import preset from './vendor/filament/support/tailwind.config.preset' export default {...

How can I call a Repeaters field 'add' action on enter in field?

I know this is probably not good UX as 'Enter' should submit the form. But I have a repeater with 2 fields per row, and when pressing ENTER in the last field (qty) I'd like to add a new empty line to the repeater. How could I do that? I have now modified the Repeater's addAction using keyBindings, which kind of works but I want it to .focus on the first field on the next line. Is that even possible or how would I go about that? I have been fiddling with custom actions but no luck getting them to work. If anybody could help me I would be grateful. Thank you!...

Optimizing CSS / loading times

Hi all, I'm investigating some loading time issues when using a filament tenancy panel. One of the things I notice when using firefox profiler is that a simple css animation takes around 600ms which feels like I might have forgot some setup steps in the css but can't determine why. In a non tenancy panel I don't have this issue and the setup is pretty much the same. Has anybody faced something similair before?...
No description

Export Button in ChartWidget

is there any way to add a button inside ChartWidget? I'm trying to generate a report based on the Chart

Lightweight map plugin

I need a map field that displays the current location based on the inputted latitude and longitude coordinates. Any suggestions?

Custom Component Within Resource.

I've created a new resource with basic add, edit, and delete functionality. My question is: Is it possible to include a custom component within the resource, such as a custom form section or field?
Next