How to pass a section_id parameter to a action when creating a record?
I'm trying to create a Field that belongs to a Section. I have a create action with a form, and I need to pass the section_id to this form when creating a new Field.
9 Replies
where is the section id?
Please simplify your code to focus on the issue..
How to do this? I couldn't find anything in the documentation. When I use action without form, this is simple to pass arguement and get it, but with forms this is difficult. in ->action method how to get form data and arguments that I passed from the view?
DId you check my link?
Are you mean create different component for this purpose? Am I right?
just use
InteractsWithActions
InteractsWithForms
and render the action in your view 🤷♂️I will try it. Thank you