MorphMany Relation buggy in relationshipManager.
I have discovered a problem and am not sure whether I am doing something wrong or it's a bug. After hours of trying, I still can't find a solution.
The following initial situation.
I have a Vehicle Model with a MorphTo relation:
Then a Customer Model with a MorphMany relation:
And a Carrier Model with a MorphMany relation:
Both should be able to own several Vehicles.
Now, I inserted a RelationManager in my Customer Resource which should allow vehicles to be associated and removed on the Edit Page.
Assignment of the first vehicle still works quite normally. As soon as I want to assign another one, the Select Box is empty and no more vehicles are displayed for assignment.
5 Replies
did you use associate action?
Of course
How is your select component like?
Its the default one from the the associate action, nothing modified, as i said, the first one works perfectly after that, the action selection is empty
I've created a fresh demo repo.
https://github.com/DevRaeph/filament-morph-many-relation
GitHub
GitHub - DevRaeph/filament-morph-many-relation
Contribute to DevRaeph/filament-morph-many-relation development by creating an account on GitHub.