We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8da6c8 commit 011c76fCopy full SHA for 011c76f
1 file changed
packages/ra-core/src/form/useWarnWhenUnsavedChanges.tsx
@@ -57,7 +57,8 @@ export const useWarnWhenUnsavedChanges = (
57
tx.retry();
58
} else {
59
if (isSubmitting) {
60
- // Retry the transition in 100ms, until the form is no longer submitting
+ // Retry the transition (possibly several times) until the form is no longer submitting.
61
+ // The value of 100ms is arbitrary, it allows to give some time between retries.
62
setTimeout(() => {
63
64
}, 100);
0 commit comments