Relation manager form get current resource id
How can I use the id of the current resource record in a select relationship from the relationship manager form?
I test this but not working:
2 Replies
Try with $model_id= Model::find(request()->route('record'))->id;