You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am using a combination of MUI Dialog and my form inside it, and I would like to notify users of any unsaved changes before they close the dialog. Is there a way to achieve this with RJSF? If not, could this feature be considered for inclusion in the roadmap?
Describe the solution you'd like
We need a way to expose the global dirty state of the form, allowing us to handle it programmatically. This would enable us to prompt an error message in the Dialog's onClose event if the form is dirty.
Maybe a warnWhenUnsavedChanges option and a hook?
Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
What theme are you using?
mui
Is your feature request related to a problem? Please describe.
I am using a combination of
MUI Dialog
and my form inside it, and I would like to notify users of any unsaved changes before they close the dialog. Is there a way to achieve this withRJSF
? If not, could this feature be considered for inclusion in the roadmap?Describe the solution you'd like
We need a way to expose the global
dirty
state of the form, allowing us to handle it programmatically. This would enable us to prompt an error message in the Dialog'sonClose
event if the form is dirty.Maybe a
warnWhenUnsavedChanges
option and a hook?Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: