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

Dropwdown values not displayed in Chrome,Safari for Pega 7.1.5

SA-2211

Summary



The user has upgraded application from Pega 6.3 SP1 to Pega 7.1.5. In browsers like Chrome, Safari dropdown values are not getting displayed while
they are displayed in Internet explorer. 

Error Messages



No error message is displayed.


Steps to Reproduce



1. Create section with dropdown values in Pega 6.3 SP1
2. Pega is upgraded from 6.3 SP1 to & 7.1.5
3.Values are displayed in Internet explorer while they are not diplayed in Chrome and safari.


Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules.

The user has configured a  Cascading Dynamic Select and opening them in a read-only mode. The values are not getting populated in the Chrome or Safari browser but working fine in IE 



Resolution



This issue is resolved through adding the following local change at the bottom of the section where the issue is present:


<script>
pega.ui.DynamicSelect.prototype.DS_loadTargets= function(strValue, ignoreIfAuto)
{
                if (strValue != "" && strValue != null)
                {
                                var objTargetSelect = this._DSSelectElement.DSTarget;
                                if (objTargetSelect == null ) //|| objTargetSelect.length == 0
                                                return; 
                                for (var i = 0; i < objTargetSelect.length; i++)
                                {
                                                var strUniqueID = objTargetSelect[i].getAttribute("uniqueID");
                                                var dsObj = pega.ui.DSUtils_globals.htds.get(strUniqueID)
                                                if (ignoreIfAuto && dsObj.DS_getLoadMode() == LOADMODE_AUTO)
                                                {
                                                                //do nothing for now
                                                }
                                               else
                                                {
                                                                pega.ui.DSUtils.log(dsObj.getID() + ": called as a target. value = " + this._DS_Default);
                                                                if (dsObj._DS_dDisabled != true) {
                                                                                                pega.ui.DSUtils.numSelects++;
                                                                                                dsObj.loadElement(pega.ui.DSUtils.escapeString(strValue), false);
                                                                }
                                                }
                                }
                }


</script>
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

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.

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