We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What you were expecting: The unsaved changes prompt shouldn't appear when trying to save a record using SimpleForm.
SimpleForm
What happened instead: When saving a record using the SimpleForm the unsaved changes prompt appears.
Steps to reproduce:
Environment
The text was updated successfully, but these errors were encountered:
Reproduced. Thanks
Sorry, something went wrong.
@djhi, If you await more than 100 ms here, the test fails: await new Promise(resolve => setTimeout(resolve, 101));
await new Promise(resolve => setTimeout(resolve, 101));
react-admin/packages/ra-core/src/form/useWarnWhenUnsavedChanges.spec.tsx
Line 123 in fdee201
Never mind, I think I got it fixed
Successfully merging a pull request may close this issue.
What you were expecting:
The unsaved changes prompt shouldn't appear when trying to save a record using
SimpleForm
.What happened instead:
When saving a record using the
SimpleForm
the unsaved changes prompt appears.Steps to reproduce:
Environment
The text was updated successfully, but these errors were encountered: