Accessing model id on loading relationship.

Posted 1 month ago by aqib


I'm using laravel 5.5.19 version. I'm trying to load relationship like below


then inside formSetting relation method I'm trying to access model id by $this->id but it's empty?

I had an earlier version of laravel 5.5 which I updated to 5.5.19. It was working before but now it doesn't

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.