Has anybody successfully tried the new import action yet?
Hi, all: As the title says - has anybody tried to implement the new import action successfully yet? I followed the documentation but somehow fail to import records. I suspect the issue is somewhere in the queue because the import sits forever in
pending_jobs
in the job_batches
table in the database. Is there a special command for job batch queueing apart from the queue:work
, I wonder? @Tuto - it would be really great if you could record a short video just for this feature. There is not...How to add a ViewPage in index
Like profile page of the user, I want to show the user login profile view page in a resource index page ? Any suggestion how? Generally a view page required a record but i want to pass the auth() ->user() ->id there but it doesn't work
Group records in sort order
Hi, Tuto - I have been watching your vet clinic streams lately and have a question. When we group a table, we can dispaly it in ASC or DESC order. But can we add the third parameter - 'sort_order' to the dropdown? Filament offers sorting out of the box and grouping by sort order by default would be nice in one of my projects. Thanks!
How to reload a Edit page
i have 2 panels and in admin panel i have student resource which is also present in app panel and i have a status field in the student resource table ok when the status is false the app panel user should not edit that record ,ex- in admin panel admin change the status of a record to false and the app panel user is already in the edit page of that record so then if he edit that record then the false status changed to true so how can i acheive that like when admin change the status and app panel u...
Solution:
I would use the beforeSave() method of the EditStudent page. This will check any conditions you want before actually saving the record.
https://filamentphp.com/docs/3.x/panels/resources/editing-records#halting-the-saving-process...
How I can take only first column value to Bulk Action?
I just need to id of product list in Collection of $records, because for too much data, will kill the page with all columns of selected rows.

checklist and dynamic field
i have checklist and i want create quantity field for every option selected
Old value after failed validation
Im trying to keep the old value of a select2, the data is getting from a ajax response,
```javascript
$('#patient').select2({
minimumInputLength: 3,
ajax: {...

Render HTML in select options filamentphp
hey please help me about Render HTML in select options filamentphp
Login user based on Department Panel
Hello Everyone
I hope you're all doing well. I'm currently working on a project and could use some guidance and expertise to help me implement a user registration system with department-based access. I have three different panels: 'hr', 'finance', and 'property,' each with its respective logins. My goal is to allow a superadmin to register new users with their email, password, and department. When a registered user logs in, they should be directed to their designated department panel....
Solution:
I figured it out already
Thankyou very much...
Multitenant/Company plugin
As promised in the live stream. The link to a nice plugin for making a multi tenant installation with edit company and user profile.
https://github.com/andrewdwallo/filament-companies...
Last stream, question about impersonation
Hello everybody,
In the last stream somebody asked about acting as a other user. I found a plugin, which maybe could help.
https://filamentphp.com/plugins/joseph-szobody-impersonate...
display information about the logged in user at the user resource level
good evening sir @tuto1902 ,
I have a php filament project, which has 2 dashboards, one "admin" and the other "user".
I created a user resource(list all registered users), which is displayed in the 2 dashboards, but I would like that at the level of the user dashboard("user"), I would like that only the information of the connected user is displayed, and can only modify his information and not for others.
thank you for helping me....
Solution:
the UserPanelProvider class should be automatically created when you create a new panel using
php artisan make:filament-panel User
and it should be located in app\Providers\Filament\UserPanelProvider.php
It also should extend Filament\PanelProvider, not FilamentServiceProvider.
And that error means that Laravel can't find the class you are extending from. Which usually means you either using the wron class name, or you didn't import the class with use
...emailVerification
Heloo everyone. In filament authentication feature there is emailverification(). Is that for check email verification? How to use it? I want to implement email verification after register new user, and sending email to the user that register. How step to implement that ?
Solution:
Add
->emailVerification()
to your panel configuration and follow Laravel's documentation to prepare the User model for email verification.
https://laravel.com/docs/10.x/verification#main-content
Don't worry about protecting routes as Filament handles routes internally...V2 plugin create for V3
I try to replicate solution forest filament tab layout plugin for V3 but it give error at canbehidden trait
Solution:
i just drop the plugin and use another plugin !
Google Distance Matrix API
Hello, has anyone have experience with implementing the Google Distance Matrix API into a Filament form?
I need to find a solution to calculate a distance between two addresses and I need to know the distance to every country border on the route.
Does anyone can help me with some coding solutions?...