reppair
Component with actions in a loop?
Seems like I have to render the
<x-filament-actions::modals />
for each component having actions in my loop, which causes couple of problems:
- the action modal becomes a child element, so all clicks on it bubble up and have to be dealth with
- it renders the modals form in the DOM as many items there are in the loop
Can't I load the actions to the <x-filament-actions::modals />
of my parent component which also has it's own actions?2 replies
Filament Notifications and `wire:navigate`
Hi! Quick question, maybe someone had this issue before, can find anything about it. Here is what's up...
So when I use the action to create a goal, the notification shows correctly, the component re-renders the goals, I use a link to the view goal route that has
wire:navigate
on it...
When the view component renders, the notification disappears, then I would go back, and the same "Goal created" notification shows.2 replies
Markdown Editor with Spatie's media library.
Anyone have done that yet? I've tried to lookup some ready solutions but seems nobody needs/discuss/use that.
Here are some advantages to it:
- would allow media authorization management trough say S3 temporary signed urls or local disk and custom route to serve the files. This is needed when the files should be private in general, but still accessible for some users to render on a private page
- benefit from all the media library server side processing of files
- easily listing all resources used in a certain scope
Any thoughts on it, suggestions, pros/cons.. any feedback is welcome.
1 replies