Save relationship MorphTo #823
Replies: 3 comments 1 reply
-
Hello @raorsa Did you try follow this docs? Cheers. |
Beta Was this translation helpful? Give feedback.
-
class Activity extends Model
class Intervention extends Model implements \Stringable class Repair extends Model implements \Stringable |
Beta Was this translation helpful? Give feedback.
-
Hi @raorsa on my side is working as expected i follow the example on the demo: https://github.com/Laravel-Backpack/demo/blob/main/app/Http/Controllers/Admin/PetShop/CommentCrudController.php and model https://github.com/Laravel-Backpack/demo/blob/main/app/Models/PetShop/Comment.php you can check everything is working with a "morphTo". Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a MorphTo relationship that is not saved automatically
But
Create.php only have this options in switch
Beta Was this translation helpful? Give feedback.
All reactions