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

"Default Caption" not available on "Dropdown" Control

SA-5604

Summary



"Default Caption" not available on "Dropdown" Control. This was available in Dynamic Select control but now removed from Dropdown control.

Error Messages



None

Steps to Reproduce



1. Configure a section with "DropDown" control.

-> No "Select.." is displayed on UI.
-> Property gets defaulted to first value in dropdown which is not meaningful.

Root Cause



In Pega 7, the Prompt Select and Dynamic Select controls have been merged into a single DropDown control.

With this change, the default caption attribute has expired. However, its replaced by the Include placeholder attribute. This new option serves the same purpose as was of the default caption.

Resolution



The explanation for this behaviour is as follows:

The “Include placeholder” attribute serves as the default caption in Pega 7.

-> To use this option, user has to check Include placeholder in the dropdown control's properties.


    

-> Once checked, user can type any value you want (Example: Select...) to display as the placeholder (default caption). Also, user can select the placeholder from a list of some pre-defined values.

Example:

    

DropDown list UI:

-> default UI

    

-> on expansion 

    
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