Change relation manager to instead creating a new record, select from an existing record to attach.
I have a
UserResource
UserResource
with a relation manager for equipment. However instead of creating a new record "New Equipment" at the edit page of User, I want it to actually be where it simply updates the selected Equipment
user_id
user_id
to what user I am currently at the edit page of.
As of now I only have this at the
EquipmentsRelationmanager.php
EquipmentsRelationmanager.php
wherein it only shows Options that doesn't have a user_id already in