Andi
Andi
FFilament
Created by shashika on 11/3/2024 in #❓┊help
image not show. please help
Did you run php artisan storage:link ?
9 replies
FFilament
Created by Thomas van der Westen on 9/3/2024 in #❓┊help
How do I test the registration form and my custom redirect?
I think there is assertRedirect(url)
5 replies
FFilament
Created by Thomas van der Westen on 9/3/2024 in #❓┊help
How do I test the registration form and my custom redirect?
5 replies
FFilament
Created by Andi on 8/25/2024 in #❓┊help
pest 403 for List page
Yes, works. Just commented out policy
6 replies
FFilament
Created by Andi on 8/25/2024 in #❓┊help
pest 403 for List page
Yes, permissions are set. But somehow livewire() is not triggering my middleware. Because I also test with get() if I am able to see / not see index page of the resource.
6 replies
FFilament
Created by kisut on 8/19/2024 in #❓┊help
Relation Manager section didn't show up
As awcodes wrote no, there is no possibility. You can also use a repeater, which is only visible on create
11 replies
FFilament
Created by kisut on 8/19/2024 in #❓┊help
Relation Manager section didn't show up
The relation manager shows only on view and edit, not on create, also share ur resource relations
11 replies
FFilament
Created by Enas on 8/6/2024 in #❓┊help
Delete hover text
This comes from ->required() as it will add required attribute to your html tag.
17 replies
FFilament
Created by atabegruslan on 8/6/2024 in #❓┊help
Disable some CRUD actions
For delete, remove the delete button. But I don't even think that filament creates a delete endpoint. They just call the function directly.
6 replies
FFilament
Created by atabegruslan on 8/6/2024 in #❓┊help
Disable some CRUD actions
Just remove the routes and pages in your specific resource. You won't be able to remove livewire/update as filament is built on livewire and therefore needs that endpoint to be able to work at all.
6 replies
FFilament
Created by WernerACT on 8/6/2024 in #❓┊help
Deployment in a subfolder with Laravel and Filament PHP on shared hosting
Better use a subdomain so, subfolder.testdomain.con
6 replies
FFilament
Created by WernerACT on 8/6/2024 in #❓┊help
Deployment in a subfolder with Laravel and Filament PHP on shared hosting
This is more likely due to wrong webserver setup. How does your nginx conf or whatever webserver you use look like?
6 replies
FFilament
Created by fikurimax on 8/5/2024 in #❓┊help
Disable navigation in one resource but still shown
Then disabled() if thats a method you can use on navigation items
6 replies
FFilament
Created by fikurimax on 8/5/2024 in #❓┊help
Disable navigation in one resource but still shown
6 replies
FFilament
Created by Tazeen on 8/5/2024 in #❓┊help
12 hr format in TimePicker
Try to add ->isNative(false)
3 replies
FFilament
Created by Andi on 5/16/2024 in #❓┊help
Repeater Soft-Delete
But I don't remove the item from repeater. I disabled the default delete action. My delete action just does ->delete(), no unset from state
13 replies
FFilament
Created by Andi on 5/16/2024 in #❓┊help
Repeater Soft-Delete
Tried to implement it now using extra actions, almost works. I have hidden() logic on each action
->hidden(function (array $arguments, Forms\Components\Repeater $component) : bool {
$itemData = $component->getRawItemState($arguments['item']);

return $itemData['deleted_at'] !== null;
})
->hidden(function (array $arguments, Forms\Components\Repeater $component) : bool {
$itemData = $component->getRawItemState($arguments['item']);

return $itemData['deleted_at'] !== null;
})
Those hidden methods don't seem to be live, adding live() to the repeater component doesn't change anything. Do you know how I can trigger to reevaluate hidden() function on the other action fields?
13 replies
FFilament
Created by Andi on 5/16/2024 in #❓┊help
Repeater Soft-Delete
Delete on the repeater item should still soft delete the item, but then 2 actions would be nice to restore / force delete the repeater item.
13 replies
FFilament
Created by Andi on 5/16/2024 in #❓┊help
Repeater Soft-Delete
When the item is not needed anymore 100%, so kinda at any time. Also I could just make a resource for the relation and then do restore / force delete there, this just makes the workflow ugly.
13 replies
FFilament
Created by Andi on 5/16/2024 in #❓┊help
Repeater Soft-Delete
No description
13 replies