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

Placeholder of drop downs display incorrectly

SA-51559

Summary



Dropdown placeholder displays incorrectly on providing a value that is either a property reference or a field value.

For example,

Output 1: Provide property reference as the value,

When the property has a value, the placeholder displays correctly.
When the property value is Null, the property reference (property name: ".Placeholder") displays.

Output 2: Provide a field value which includes a property reference ({.Placeholder})

When the property has a value, then the placeholder displays correctly.
When the property value is Null, the field value name (Field value "AddressPlaceholder") displays.



Error Messages



Not Applicable


Steps to Reproduce

  1. Create a section and include a dropdown control
  2. Configure the dropdown to provide a placeholder (use any control that allows providing a placeholder).
  3. Provide a property reference or a field value (with property reference embedded) for the placeholder.
  4. Set value to the property and verify (Output 1).
  5. Set property value to blank and verify (Output 2).


Root Cause



A defect in Pegasystems’ code or rules.

For localized placeholder values, pega.clientTools.getLocalizedTextForString API was called when the currentContext.getLocalizedValue returned an undefined or empty value. pega.clientTools.getLocalizedTextForString API returned the actual property name. Hence the property name was passed if the property value was empty.



Resolution



Apply HFix-41458.


Suggest Edit

Published March 22, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

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