Custom Action that calls "save" doesn't actually save the model
So I'm trying to put a save button elsewhere in an Edit page
Both
I tried with both
My plan was to save the order and then redirect to the payment page in the
Both
payment_method and balance_used are properties of the model that is being editedI tried with both
submit('save') as well as action('save'), they both trigger the validation and display the success notification, but the model is not updated and neither protected function beforeSave() or protected function afterSave() are called.. what am I doing wrong?My plan was to save the order and then redirect to the payment page in the
afterSave method, I would've used a custom action but I couldn't manage to trigger the validation with that