ROOT-LEE
How to Hide Panel Icons Based on User Roles and Order Panels
Finally: ),
The solution was to use the excludes() method,
https://filamentphp.com/plugins/bezhansalleh-panel-switch#panel-exclusion
AppServiceProvider:
User:
PanelAccess
Thank you! 🙏 :fi:
11 replies
How to Hide Panel Icons Based on User Roles and Order Panels
Hi, The icon of a panel represents its resources. I want to hide entire panel (including the icon) if a user’s role doesn’t have access to that panel. The goal is to control visibility dynamically based on user roles.
11 replies
Tapping into email verification functionality.
Hi, I'm testing the same features.
where can i call $this->sendEmailVerificationNotification() ?
I have implemented it. App\Http\Controllers\Auth\EmailVerificationController App\Http\Controllers\Responses\VerificationResponse and UserObserver Thanks 🙂
I have implemented it. App\Http\Controllers\Auth\EmailVerificationController App\Http\Controllers\Responses\VerificationResponse and UserObserver Thanks 🙂
22 replies
Manually Upload files
by using this plugin https://filamentphp.com/plugins/filament-spatie-media-library
3 replies
hidden fields V3
take a look at this discussion
https://discord.com/channels/883083792112300104/1145318929632350351/1145345458991005736
5 replies
Unable to save hidden() fields to database !!
yes, I agree with you , perfect,
so using standard Laravel code to insert data into database ( Fantastic! )
Is there a way to retrieve the inserted id of this instance?
Thank you very much for your help🤝
" you can set it in
->afterCreate()
or wherever you want to modify the data." was the key10 replies
Unable to save hidden() fields to database !!
Thank you Koch,
Since I'm on the Create page, I used mutateFormDataBeforeCreate(), knowing that I already use beforeCreate() method, I'm not entirely aware of the distinction between them.
So by hiding this step(), the data is not saved to the database even using one of these two methods, but when I debug afterCreate() method, I see that the data is populated?? 🤔
10 replies
Research of null value in relation (belongs to many)
Yes the "querying-relationship-existence" was the key word
This request gives me everyone who doesn't have a location.
-------
It is possible to add in a selective filter an option with 'person without having a location' that call the previus query ?
location_1 location_2 location_3 personne_without_locattion
location_1 location_2 location_3 personne_without_locattion
5 replies