Tim van Heugten
hey there i found out there is a possibility to add a image to a view page
But, if you would want to show in image in a form, you could for example use a placeholder with html content, see https://filamentphp.com/docs/3.x/forms/layout/placeholder#rendering-html-inside-the-placeholder
18 replies
hey there i found out there is a possibility to add a image to a view page
And no need for a custom entry, just use the image entry: https://filamentphp.com/docs/3.x/infolists/entries/image#overview
18 replies
FileUpload .xlsx
Did you set the proper allowed file types? https://filamentphp.com/docs/3.x/forms/fields/file-upload#file-upload-validation
6 replies
Custom page with parameter (independent from resource)
Seems like the route is expecting a tenant parameter (which makes sense as you state you are using multi tenancy). This means you need to pass the tenant into the url or disable tenancy for the specific route (not sure how that would work for custom pages, for resources it works like described here: https://filamentphp.com/docs/3.x/panels/tenancy#disabling-tenancy-for-all-resources).
What is your tenancy model? Guess it’s not Team looking at that snippet?
4 replies
Can you add a custom css class to a form component (like a toggle?)
You hate stacking the label and toggle (https://filamentphp.com/docs/3.x/forms/fields/toggle#positioning-the-label-above)? Will help make them look aligned.
8 replies
WorkOS integration with Laravel 12 and Filament?
I have a proof of concept that works. I use the laravel/workos utility package, add that middleware to the filament configuration, disable panel login, get the permissions from the workos token and check if the user has the permissions to access the panel in the canAccessPanel() method. All seems to work fine. What we discovered is that WorkOS is not localizable at all (as we speak) which would mean you can’t use their AuthKit and emails (we are a Dutch company) unless you build all that yourself using their APIs.
2 replies
Help Us Improve Filament’s Docs & Education in v4
First off, quality of the docs is pretty decent right now but great you guys look to improve. As a hobbyist developer myself I struggled a little with how to prevent duplicating code. Complicated form fields or table columns or complete forms for example. Had a hard time figuring out what the best approach to this issue was. Would be great to have some examples on this topic.
71 replies