Dirty check instantly closing
Hello
In our application when navigating away from an assignment in Team Leader or Case worker portal, the dirty check modal is appearing for less than one second before closing and carrying out the action anyway.
This behaviour does not occur in dev studio, our relevant Portal configuration does not have dirty check related scripts embedded, one harness did have "Do not display warnings about unsaved changes" checked, however this does not explain why the dirty check is appearing in the first instance, and when unchecking this it seems to make no difference.
The userworkform does not contain any override for the dirty check, the only solution we have found so far is to use "pega.u.d.bUseNativeDirtyConfirm = true" to use the browser dirty popup, but the client would prefer to use the PEGA dirty check
Has anyone encountered this issue before?
Thanks
***Edited by Moderator Marije to add Capability tags***
@JamesM797 It seems like there might be a configuration issue with the dirty check modal in your application. The behavior you're describing is not expected. The dirty check modal should remain visible until the user makes a selection. If you've already checked the Portal configuration and the UserWorkForm, and you've tried using the native browser dirty popup, it might be worth looking into other areas of your application that could be affecting the behavior of the dirty check modal. You might also want to consider reaching out to Pega Support for further assistance. If you do decide to log a ticket via the MSP please provide the INC id here.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Configuring confirmation modal dialog boxes
Dirty Dialog - Troubleshooting
Need to customize the "IsFormDirty" dialog
Confirm Close Popup