Update product fires 3 saved events
Hi guys,
when I save product that belongs to category and manufacturer, it fires three times saved event on model Product? What am I doing wrong?
3 Replies
It is also happening in ProductResource on Filament demo, because of this select:
Anyone can help me please?
It's because of the relationships, which are saved individually.
Remove the
->relationship()
method and pull the options yourself via ->options(...)
You saved me. Thank you.