How to pass record ID from resources page to custom pages and get the ID value #4261
-
How I can do the logic, as need to add custom action from the resource page and that action button will redirected to a custom page and auto-populate the select field under the custom page. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
If you pass the record ID as a query string parameter, you can fill the select default with |
Beta Was this translation helpful? Give feedback.
-
I've used the |
Beta Was this translation helpful? Give feedback.
-
just add public YourModelClassTypeData $record; |
Beta Was this translation helpful? Give feedback.
I've used the
mount()
function to fill the form from query parameter