jigsaw
How to Populate(Fill) Spatie Media Library in Custom Form?
Hello everyone. I've built a custom page with form and the form has Spatie Media Library plugin. Form components are on a polymorhpic relation. I can successfully upload an image but on the edit page, I can't retrieve the image. How can I handle this?
1 replies
Custom Page Polymorphic Model Binding
hello, I've created a custom page called "create-content". it refers to Content model which has one-to-one polymorphic relation with several models. I have a public attribute in the page called "contentable" but couldn't find a way to bind models. how can I achieve such thing?
2 replies