"Edit not saved" warning when inline-editing in Leads DetailView requires multiple Cancel clicks #7432
Labels
Priority:Moderate
Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
When inline-editing a field in the Leads DetailView (and presumably elsewhere in the CRM) and then clicking outside the field, a dialog pops up with a warning about how the edit isn't saved. When you click "Cancel", the dialog will reappear one or more times before it finally disappears.
This is the same issue as #2545, which was supposed to have been fixed back in 2017, but as far as I can tell was not.
Expected Behavior
Hitting Cancel once after the dialog appears would return to the inline edit.
Actual Behavior
The browser alert appears multiple times before being fully dismissed.
Possible Fix
There was a supposed fix in 57bf2e3, but either a regression was introduced since then or it never fully fixed the problem.
Steps to Reproduce
Screen recording of the bug, I perform it twice here: https://imgur.com/XH6uw9O
I should mention that I've had some trouble getting it to occur 100% of the time, but I'm not sure if there's any pattern with when it occurs vs. when it doesn't.
Context
This isn't a huge deal, and is probably low priority, but still annoying.
Your Environment
The text was updated successfully, but these errors were encountered: