-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-9248: The "Discard" button in the "Create content" does not discard anything #1438
base: 4.6
Are you sure you want to change the base?
Conversation
formsInitialData.set(node, value); | ||
}); | ||
}; | ||
const restoreInitialFormData = (extraActionsContainer) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will form.reset()
not work? https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/reset
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately not, I was looking into it, but for some strange reason, form.reset()
doesn't trigger any events on inputs (mainly change
ones) :/
|
Description:
For QA:
Documentation: