-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BeforeRemove event #1568
Comments
That's a useful feature request. In the mean time you could try attaching an event handler to the delete button click event and prevent it bubbling up to the stages handler in formBuilder $('.delete-confim').on('click', e => {
e.stopImmediatePropagation();
... |
Thanks for the hint, but I am using a function to create the form so I am unable the register an event handler when the page loads for a class that does not exist. I am NOT a JS expert, is there a way around this? |
Hi,
Very useful indeed. :) Thanks. |
I was unable to make As a work around, this seems to do the trick :)
|
Description: Is there a way to add an event before the removal of a field that could stop the removal based on some logic. Similar to the onremove User Event, but I can not find a way to stop the removal once this event is fired.
Environment Details:
Expected Behavior
Actual Behavior
Steps to Reproduce
Screenshot - (optional)
The text was updated successfully, but these errors were encountered: