Model delete event
#2184
-
Hi, I want to do a check when an entry is getting deleted. If the object still has some related products, is should not be deleted. Is there a better way to add some logic and to a delete and be able to cancel it?
|
Beta Was this translation helpful? Give feedback.
Answered by
c-gross
Mar 28, 2022
Replies: 1 comment
-
I forgot that there is a remove method in the edit screen to handle that. It's working now. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
c-gross
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I forgot that there is a remove method in the edit screen to handle that. It's working now.