Relation manager custom action + Spatie media library plugin
Hello everyone, i have a relation manager which has a custom action in its
$table
-
Now, inside Bom::getForm()
I have a media field using spatie's plugin which looks like this -
For some reason, when i upload a file, it is being attached to the parent model (Assembly
) rather than to Bom
, even though im explicitly using ->model()
and the ->form()
method is referencing to Bom
's model as well.. So why is it happening?0 Replies