F
Filament14mo ago
Chriis

Relation manager no longer work after changing the Model relation name

Hi, I have changed the $relationship in the RelationManager according to my new relationship method name :
protected static string $relationship = 'newRelationshipName';
protected static string $relationship = 'newRelationshipName';
However, I encountered an error when using the attach action. The error message clearly indicates that it's using the old name of my relationship and even suggests, "Did you mean ModelName::newRelationshipName ?" So my question is, do I need to do something else to adapt my relation manager to my new relationship method name ?
1 Reply
toeknee
toeknee14mo ago
Search your code.
Want results from more Discord servers?
Add your server