Falk Maria Zeitsprung
unique email with deleted_at
How can i exclude records, which are marked as deleted from the email validation unique?
I also need this function:
and i want to inlcude additional something like this:
how would look all together please?
9 replies
update actions on filter change
How can i update an action, when a filter is changed?
I have an action, which is showing in a table column. The action shows labels with links, depending on the selection in the form of the filter.
My problem is, that if i change the filter, the actions are not updated.
I have to make a cmd-r reload of the page, to force a new calculation of the action label.
How can i resolve this please?
11 replies
selectfilter from json data
I have a database filed where i have saved something like this:
Cane be one o n lines.
Now i need a SelectFilter where i can choose a language. And language_level (or language_level) withou selection.
I try:
`
but get error: Unable to resolve dependency [Parameter #1 [ <required> $value ]] in class App\Filament\Resources\ApplicantResource
33 replies
Displaying filters above or below the table content
I cant get to work this. In my CenterResource.php i add the methos:
i also added:
`
But the method is not being called. It shows in PHPStorm as unused element.
From where do i have to call the method please?
5 replies
menu item depending on user role or permission
How can i set a menu item only, if the user has a specific role?
I tried https://filamentphp.com/tricks/conditions-on-user-menu-items-based-on-roles
But cant get it running.
I installed in config/filament.php
`
I created
I have a Page in app/Filament/Pages/GitLog.php with
What to i have to put in app/Http/Middleware/UserMenuItemMiddleware.php please?
I want to show the page GitLog.php only when the user has role "Root".
13 replies