Filament

F

Filament

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

Join
NNuekrato5/14/2024

Form: Nested JSON values are stored as string instead of integers

I have a form like: ``` public static function form(Form $form): Form { return $form...
TTheNastyPasty5/14/2024

How to call a whatsapp chat here?

I want to call a WhatsApp Chat in the ->actions() function with the data and clients I chose in my select. Is this somehow possible? ``` Action::make('send_whatsapp') ->label('Open Chat')...
Pprskv.5/14/2024

Hello! When im saving my formData - FileUpload gives string like this "icons/01HXW41XREQJ420D95GMW"

Hello! When im saving my formData - FileUpload gives string like this "icons/01HXW41XREQJ420D95GMW", and when i trying to fill form im recieving this error: foreach() argument must be of type array|object, string given. How i can fix that?...
MMarcel5/14/2024

LocaleSwitcher label of locale

Hi, I'm trying to to change the label of the LocaleSwitcher. I have a custom language with the handle frl and I want to give it a custom label. Or change the label of the nl language. Does somebody know how to do that?...
No description
Bbiebthesecond5/14/2024

Repeater inline delete action

Hello, I'm trying to make the repeater delete action inline. Since having the entire header for one icon takes up quite a bit of space, and my client has specifically asked for this. Yet I just can't figure out how to do it, I've tried a custom action in the schema. But there I can't figure out how to access the repeater values, I hope someone has an idea how this would maybe work. Thanks in advance!...
No description
DDavid5/14/2024

ERR_TOO_MANY_REDIRECTS with Multi-Tenancy Using Subdomains and Domains

Hello everyone, I'm testing the multi-tenancy option using subdomains and domains. I have configured the Windows hosts file to point filamentphp.test and tenant1.filamentphp.test to 127.0.0.1, and I've also set up the httpd.vhosts file in Apache. When I first enter filamentphp.test, I input the tenant's credentials, and upon logging in, it redirects to tenant1.filamentphp.test. However, it then hangs for a long time and eventually throws an ERR_TOO_MANY_REDIRECTS error. When I try the tenancy without using the subdomain and domain option, it works perfectly. I have tried this on multiple browsers and in incognito mode. Does anyone have any ideas?...
No description
Jjjo635/14/2024

Default columns in <resourcename>.php

Hi when I first started tinkering with Filament the <modelname>Resource.php file contained references to columns (fields) within the referenced model. I would then edit out the ones I didn't want. I want to use Filament on a new project but this time I note that the columns (fields) are not present - e.g. I see ``` ...
DDevcentric5/14/2024

modal

Is it possible to configure path-based routing in filament with stancyl muti-tenancy ?
Llawre175/14/2024

How to access file(s) before submitting a form

In a table header action I have form that I want it to interact with an AI service. The form entails an file upload and an action right below it. When the action us trigger the file uploaded will be sent to the service and then use the response to fill other read only section of the form and now the form can be submitted. ...
PPscl5/14/2024

Combining Clusters with Pages? Or on the wrong way?

Hey all, https://demo.filamentphp.com/shop/products/products Here we do see a cluster... but I am trying to accomplish something slightly different and asking what would we the best way to set it up?...
Ppace5/14/2024

How to use a parameter to change a resource table query?

I am working with : FolderResource and AccessLinkResource. An AccessLink belongs to an Folder. And Folderhave many AccessLinks. I am trying to create a AccessLinkResource which show and create the records using the folder_id. ...
MMarc5/14/2024

Unable to find component for relationship manager

I'm creating a relationship manager in a child panel, but when registering it I get this error Unable to find component: [app.filament.futbol.resources.club-resource.relation-managers.teams-relation-manager] What do I have to do to solve it? ```php...
LLuiz5/14/2024

How to show brand logo when sidebar is collapsed on desktop?

Is there an away to show the brand logo when the sidebar is collapsed?
No description
Nnyannss5/14/2024

Ignore null values save to database and create custom confirmation text

Hello! I'm new using fillament, i'm trying to do create form, so, how to ignore column when the value is null. Because in the migration, i have already defined the column is required and have default value. I dont want put the default value in form because in the placeholder there is a caption that explains, and I don't want it hiding because of the filled value....
Rritos1235/14/2024

Spatie media library infolist DocumentEntry

The filament spatie media library offers only the ImageEntry for infolists, but i also want to display documents as well. How can i approach this?
ZZod5/14/2024

Why is my CSV Importer reading my CSV deformatted?

I am importing a CSV and my CSV importer is reading the headings deformatted. Some headings that I need are: Issuer_nr, Authority_nr and Kaart serie nummer. Those are being read as: ÿþI�s�s�u�e�r� �N�r� �A�u�t�h�o�r�i�t�y� �N�r� �K�a�a�r�t� �s�e�r�i�e� �n�u�m�m�e�r� ...
AHAdam Holmes5/14/2024

Testing form with relationships

Hi, I'm attempting to test a create form for my Users page. The form has basic info on, as well as a roles dropdown which uses filament-shield. When using the UI, everything works fine. When I run the test to make sure there are no errors, the test fails with the following and I can't work out why: ```bash...
Mmr_vjchauhan5/14/2024

Issue with $this->form->getState() for Previewing Resume

When I use $this->form->getRawState();, everything works fine except I can't get the file upload URL. But if I switch to $this->form->getState(), I can get the URL, but it also validates every form field, which I don't want. How can I fix this so I can get the file upload URL without having to validate every form field? Any help would be awesome!
I have a similar issue as described in this question: https://www.answeroverflow.com/m/1152352566525566996...
BBarbaracrlp5/14/2024

How to hide actions in small screens

Hi I'm trying to hide my table actions in small screens. I've tried the visibleFrom but it's not working with actions. I'm trying to build a responsive app and avoid scrolls.I'm good with hiding them or making them toggeable in small screens...
No description
SSoundmit5/14/2024

Argument: Web Routes

I'm in the final step of my app, then i would make a proper demo test for you! I need to tweak the web routes, more in depth I have 2 panels - Admin (for admin and technicians)...
Next