Akiyama
Akiyama
FFilament
Created by Akiyama on 2/21/2025 in #❓┊help
Delete button
Thank you for the suggestion! I didn’t think about using Filament’s theming or CSS to customize the button. That’s a much cleaner approach, and I’ll look into it. Really appreciate your help! 😊
7 replies
FFilament
Created by Akiyama on 2/21/2025 in #❓┊help
Delete button
Thank you for asking! I’m not trying to change the functionality of the delete action itself. The default delete action works fine in terms of deleting the record. However, I wanted to customize the appearance and placement of the delete button to match my design requirements. Specifically: I added a custom-styled button with a unique class and icon. I also wanted the button to appear only on mobile devices, so I grouped it with the edit button in a mobile-only section. The issue is that while the custom edit button works as expected, the custom delete button doesn’t trigger the delete action when clicked. I suspect there might be an issue with how I’ve set up the wire:click directive or how the mountTableAction method is being called. I’m not trying to change the logic of the delete action itself—just its appearance and placement. Does that make sense?
7 replies