Closing tab does not trigger dirty check confirm
Our application is built on Customer Service foundation, and we were also asked to have tabs functionality, so we needed to implement the legacy Tab Group layout control to achieve this. However, in one of our cases that uses a screen flow to implement his functionality, closing a tab does not trigger the dirty check confirm, so the tab closes without asking the user to save his work:
I tried embedding a JS script –mentioned in this post How to specify some actions on Tab close event | Support Center (pega.com)– in the harness used by the Screen flow, and it shows the confirmation, however either selecting Ok or cancel, the tab continues to close.
I know the issue is related to the Dirty Check Confirm built in functionality, I guess the screen flow harness might not be coordinated with the close Tabs functionality, so is like the tab is not aware that the current screen is dirty (or have client validation errors).
Thanks for any thoughts on this,