Modify url/query string when action modal opens
Let's say that I have a simple
CustomerResource
at /admin/customers
, when I open the create modal i'd like the url to show /admin/customers?tableAction=create
or when I edit one i'd like the url to show /admin/customers?tableAction=edit&tableActionRecord=1
I can't find any docs with indications to action hooks? Is this achievable in any way?2 Replies
Just curious, what's the use-case for this? Do you want to share a url to open the modal directly?
yep, that is exactly my use-case!