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

pxAutoComplete control does not fire OnChange events

SA-15573

Summary



User reported that the pxAutoComplete control does not fire OnChange events when the control returns zero result, and the user uses the tab key to navigate to the next field.

The OnChange event fires when the control returns zero result and also when the user navigates to the next field by clicking on the field with the mouse.
The OnChange event always fires if the users tabs or clicks onto the next field, if the control returns any results.

Error Messages



Not Applicable. 

Steps to Reproduce

  1. Create a Repeating Grid Layout and include Autocomplete control in two adjacent cells. 

     
  2. In the Autocomplete control include a property with local list.

     
  3. In each of the cell properties, add an action set with event “Change” and action “Refresh Section” 

     

Root Cause



‘p.c.eventController.SetLazyOnChange(targetElement,”false”); ’ was commented in pzpega_control_autocompleteag

 

Resolution



Uncomment ‘p.c.eventController.SetLazyOnChange(targetElement,”false”);’ and change it to ‘p.c.eventController.SetLazyOnChange(targetElement,”false”,false);’ .



​The reported issue is also fixed in Pega 7.1.9.

Published January 31, 2016 - 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