adding multiple categories in ProductResource error
When i add multiple categories in the ProductResource, it saves them. But on the edit page the categories are removed.
this is the code in the product model:
in the category model i have added this:
in the ProductResource this code:
how can i fix this?
ps how can i add snippets of codes here?
8 Replies
i tried multiple ways but it seems not working
could you send the code?
How? It is in the first post
which filamentphp version are you using?
have you tried these two?
there is no component called BelongsToManySelect
filament 3
i have changed to select no
but the problem remains
the examples you gave i have tried
could you provide a demo repo?
how?