F
Filament2y ago
G3z

Action on Repeater

Is it possible to attach an Action to a repeater element ? I would like to add a button to create a new entity based on the action, modify the current entity and redirect to the edit page of the new one (on a different resource)
1 Reply
Patrick Boivin
One approach would be to use a ViewField in your repeater, and render a custom template with a <x-filament-support::button />. From there you can implement your custom action in Alpine or in a method of your EditRecord page.
Want results from more Discord servers?
Add your server