norrinradd76
Edit Lifecycle hooks ->before is not working
Hi,
I had a similar problem getting the "after" hook to trigger on a CreateAction.
I was able to get this to work by adding an afterCreate method to the resource's corresponding create page and define the logic there.
So in your case, find the Edit page for that resource (OrderResource?) and add a "beforeSave()"
protected function beforeSave(): void
{
// Logic here
}
That worked on my v3 instance.3 replies