Repeater rolls back after save

Hi all, I'm having a strange issue with the repeater field, after saving it rolls back the changes. But when I refresh the page or look at the database the changes are indeed saved. Never seen this before, any ideas?

Models: (nothing fancy)

Order, OrderItem.
Order hasMany OrderItem
OrderItem belongs to Order

Forms\Components\Repeater::make('orderItems')
                    ->relationship()
                    ->schema([
                        Forms\Components\Select::make('product_id')
                            ->relationship(name: 'product', titleAttribute: 'name'),
                        Forms\Components\TextInput::make('product_amount')
                    ]),
firefox_S5XppwSLOh.gif
Solution
Ok, just an FYI for the future...
So i changed everything to use 'ClientOrder' instead of 'Order' now it works as expected. Not sure what the real problem was, but seems 'Order' can cause a conflict, at least in this scenario
🤷‍♂️
Was this page helpful?