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
- Configure autocomplete with two properties, Search and Set the value.
- Configure OnChange refresh action for autocomplete and for the second property. Set the second property as Read-only.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.