An unexpected screen popping up on iPhone

Hi all,

After upgrading pega to 23.1.1, an unexpected screen is popping up after clicking case ID.

In windows machine, we do not face the same issue. This occurs only at iPhone and iPad…

May I know how to resolve the issue?

Please see an attachment for the detail.

Hope somebody help me…

@YukiS888 this is the Dirty Pop up. Are there any unsaved changes before you click on the Case link ?

@YukiS888 As Tushar said, try to clear the DirtyState, run a script on click of the link “pega.u.d.clearDirtyState”

Hi all,

After upgrading to 23.1.1, a confirmation dialog popped up has not fit to a size of mobile screen.
Does anyone know how to fix it?

Hi @YukiS888

Since your two questions were similar, I’ve merged them together so you can get the best help on one Question post.

@banet Thank you for your reply. No unsaved changes. Even though I save cases, the screen is popping up every time.

@MarijeSchillern and All,

Thank you for your help! resolved!

Hi @YukiS888 ,

Could you please share us some screenshots of the same. Also are you testing the app in a real mobile device ?

@YukiS888

Without seeing your particular scenario, what might be happening is that you have a property which may be defined on a fieldvalue control which is NOT auto-generated.
This custom control generates a select element with options.

As per dirty check logic, any one of the below conditions should match.

  1. Any one of the option should be marked as defaultSelected.
    i.e - optionElement.defaultSelected becomes to TRUE at runtime
  2. First option should be selected by default. In this control’s markup generation(for the first time, where no value is selected) neither of these conditions are matching.
    i.e - Everything

If your application code in UserWorkForm has a script which has an impact on the native date&time controls for offline-enabled mobile UI which are not prefilled you will see this issue.

That is why the previous user suggested that you add refresh section code in the user work form after setting the property values.

Please check how the product works as per our documentation:

Dirty Dialog - Troubleshooting

Ability to navigate to harness instead of dirty Unsaved Changes check happening

Dirty check for rich text fields

Browser dirty check now native dirty check after upgrade

Dirty popup appears while clicking on any button without making any changes in the case screen