Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error popup displays continuously on unselecting dropdown value



On unselecting a value in a dropdown control, the 'Value cannot be blank' popup displays continuously despite clicking Ok or Cancel buttons.

Error Messages

Value cannot be blank. Please select Ok to return to the field and provide a value or Cancel to proceed to the next field.

Steps to Reproduce

  1. In accessibility mode, add a mandatory dropdown for Title.
  2. Select a value (for example, Mr.).
  3. Reset to 'Select' placeholder value.
  4. Click the Tab key. The error popup displays infinitely despite clicking Ok or Cancel options on the popup.

Root Cause

A defect in Pegasystems’ code or rules.

The focus recursively shifts to the dropdown.

Code in the display_displayConfirm function in the harness_accessibility JavaScript, displays the Confirm dialog for the error.

console.log("Inside cancel"); 
gErrorElementName = ""; 

var firstElementName = errorList[errorList.length-1]; 
console.log("Before focusing"); 
window.setTimeout("pega.u.d.Axisbility.focusElement('" + firstElementName +"')", 100); 
} } 
gErrorElementName = ""; 

On click of Cancel or Ok, the Validate function invokes the onBlur event. The onBlur event is triggered infinitely because of the focus on the dropdown.


Apply HFix- 43862.


Published September 13, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us