Filament

F

Filament

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

Join

text list form field? (is there any kind of contrib/repository for custom components?)

I'm mostly curious if there is any kind of website or repository where people make available custom components and widgets for filament? I have a need for something akin to the key/value input but only need it to deal with a list of values. It's not a deal breaker if I can't find something as this is mostly a 'learning' project. But thinking about it makes me wonder if there are any contrib collections of such custom fields for forms, tables and infolists already out there on the net like ther...

Save edit form with two fields: Select & Livewire table component

Hi friends, I've a situation where a form contains a native field "Select" and a custom one (a table injected via Livewire component) and I can't save what I edit in the form containing the Livewire injected table (I don't get any kind of error. Just it doesn't work...). If I remove (or comment) the Livewire field containging the table, the form saving works correctly. I followed this part of the documentation: https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component#adding-the-table I've these three files:...
No description

Customizing Table Cells

Hi sir Good day,How can I customize the padding and spacing in Filament tables cells

ToggleButtons with Icons only ?

Hey ! If i have an empty label on the options, i have the icon without label BUT, there still is the "<span class="fi-btn-label"></span>" creating a margin after the icon. Is there a way to have an option in togglesbuttons with icon only without the margin on the right ?...

Preselect table Bulk

Hello there ! I'm trying to use a table with BulkActions to update relations between two models. Basically, the point is to create a collections of projects and add on removed said projects from the collection by just selecting/unselecting them on the table. Problem is, I cannot find a way to select by default the records that are already part of the collection. Do you have any ideas ? ...

Repeater for relation with translatable fields

Hi guys, I am trying to create repeater for relation that will have fields like title translatable via filament/spatie-laravel-translatable-plugin. I want to ask you, if is it even possible to do that. I will give you specific example: I have Venue model, Venue hasMany Cards, but each card can be translatable. Is it possible to add local switcher inside this repeater?
No description

Livewire\Exceptions\ComponentNotFoundException: Unable to find component: [filament.pages.auth.regis

All I've done is add ->registration() to my panel provider 🤔
Solution:
are you using filament:optimize? maybe php artisan filament:optimize-clear ?...

I'm seeking work as a full stack developer

Hello Everyone I'm seeking work as a full stack developer. If you have any work and planning new, kindly let me know. Here is my portfolio. ...

multiple widget filters on a dashboard?

How would I accomplish having filters within a widget card on a Dashboard page so that each widget can be filtered independently? Or maybe have a section that has one set of filters that controls a set of widgets, and another section that has a different set of filters for a different group of widgets? Is that possible? I'm envisioning a dashboard with multiple metrics, requiring different filters.

contribution

Hello everyone. as this is my first ever contribution, I need some guidance on how to contribute. i did the steps in https://filamentphp.com/docs/3.x/support/contributing#developing-with-a-local-copy-of-filament, just need more info on composer.json. Do i specify the filament version? Thank you.....
Solution:
So just make the modifications in the github repo you have cloned and do the PR. IF you want to code live and test it, you need to configure your dev laravel composer to use the localised package

Using search/select component on infolist page

It's seem like search component on faq page, after searching the related data will show on below

FileUpload on relation ( HasOne) extra parameters

Hello, I have a case where the i have a file() relation to another File entity, and that file entity has some extra fields required Any way i can pass those extra fields values need, when I save my form?...

extraAttributes add class on Section seems not works

hi! actually i have a form section like this: ``` Section::make()
->description('Main Contact Referent')...
Solution:
it was not rendered at all. actually i have solved creating a custom theme and there creating a class like ``` .mycustom-background { @apply bg-neutral-950 !important; }...

How to build filament CSS/assets when using the Panel builder?

I'm a little lost on how exactly the panel builder manages assets. I am trying to add some tailwind utility classes to some elements on my panel pages, but these do not seem to be included in the pre-built filament CSS file that the panel uses. The docs aren't really clear on how I can re-build this file (if at all?). There are some examples on how to scaffold the tailwind and vite config, but these seem to be related to individual concepts liek Actions, rather than panels? For instance, panels do not seem to use the app layout at all... Additonally, I am using Filament as an admin panel, separate from the rest of my site. I don't want to mix up the assets for them....

How to Check Unique Field Names Across Sections in Nested Repeater?

The user is filling a form which creates this structure (an array of sections containing fields): ```json [ { "name": "Section 1",...
Solution:
solved: ```php use Livewire\Component as Livewire; ......

How can I hide a field inside a form or repeater, but still send its data

How can I hide a field inside a form or repeater, but still send its data ( i'm populating it's data from another field ) I've tried with hidden() and visible() but it seems its data is not sent when I submit the form Regards...

Integrate swiperjs in a custom column

Hey, the goal is to create a custom column like on this https://www.immoscout24.ch/fr/immobilier/louer/lieu-geneve i have some problem with the integration of swiperjs https://swiperjs.com/swiper-api from what i have understand and what i have done npm install swiper and in app.js i add ...

Disable tenant slug

Hey everybody, I am trying to get stancl/tenancy and filament working together. I have all the images and all that working, but I am trying to use your tenancy pages (https://filamentphp.com/docs/3.x/panels/tenancy#overview), like signup and that. But I also want to use their billing features. the problem is I have this so far ```php...

Filament notification delete issue.

I add these code on admin panel provider ```php public function panel(Panel $panel): Panel { return $panel...
No description