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

Actions on event are not triggered on selecting autocomplete

SA-46736

Summary



Unable to initiate actions on selecting a value from the autocomplete field and when a property has the same value. Change and DownKey events are configured on the autocomplete property.


Error Messages



Not Applicable


Steps to Reproduce

  1. Configure autocomplete with two properties, Search and Set the value.
  2. Configure OnChange refresh action for autocomplete and for the second property. Set the second property as Read-only.
  3. Set the second property (used for search and set) beside the autocomplete in the UI. Selecting the same property from the autocomplete field does not trigger the refresh section.


Root Cause



The second property does not initiate the Change event because the property is hidden. Additionally, the autocomplete OnChange action does not trigger since the value for the key (in autocomplete) does not change.

Resolution



Perform the following local-change:

Set the second property besides the autocomplete field (that is, one with read-only) with style as 'Display None' and configure a section refresh on it.


Published April 22, 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