Filament Resource Create/Edit BadMethodCallException Call to undefined method HasMany::associate()
I have a User model as well as a Patch model, every patch HasMany users. What I am trying to achieve is: I want to add Users to Patch.
Code:
User migration:
Patch migration
After this I created a filament-resource: PatchResource. Inside the form I did:
What did I do wrong here?
0 Replies