F
Filamentβ€’12mo ago
Alex

Open modal showing the edit view of a different resource

I have two different resources 'Verification' and 'Bookings'. Both resources are tied to the Booking model. On my Verification page, I would like an action that opens a modal when clicked, displaying the edit form of the Booking resource within. Please can somebody help explain how I could achieve this? Many thanks in advance for any replies!
Solution:
you can create new action and in the form method you can call the booking form BookingResource::form($form);...
Jump to solution
2 Replies
Solution
Lara Zeus
Lara Zeusβ€’12mo ago
you can create new action and in the form method you can call the booking form BookingResource::form($form); in theory it should work πŸ™‚
Alex
AlexOPβ€’12mo ago
Works like a charm - thank you for taking your time to help πŸ™‚
Want results from more Discord servers?
Add your server