Skip to content

Fix WarnWhenUnsavedChanges alert after deleting a record#11283

Open
fzaninotto wants to merge 1 commit into
masterfrom
fix-warnwhenunsavedchanges-after-delete
Open

Fix WarnWhenUnsavedChanges alert after deleting a record#11283
fzaninotto wants to merge 1 commit into
masterfrom
fix-warnwhenunsavedchanges-after-delete

Conversation

@fzaninotto

Copy link
Copy Markdown
Member

Closes #11274

Problem

The warning cannot prevent the deletion, therefore when the user clicks on cancel, they see a non-coherent state.

Solution

Disable the warnwhenunsavedchanges warning when a deletion was requested

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • The PR includes one or several stories (if not possible, describe why)
  • The documentation is up to date

Closes #11274

## Problem

The warning cannot prevent the deletion, therefore when the user clicks on cancel, they see a non-coherent state.

## Solution

Disable the warnwhenunsavedchanges warning when a deletion was requested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unsaved changes warning not compatible with Edit component

1 participant