Support Article
Auto complete does not work as expected
SA-11262
Summary
When user enters search characters, Auto Complete displays only one matching reason code description usually.
Now, it displays different reason code descriptions or previous reason code description or some times nothing is displayed.
Error Messages
Not Applicable
Steps to Reproduce
1. Create an Activity to populate a page with results (Results should contain huge data, for example, 400 characters with new line characters).
2. Create an Auto Complete Control.
3. Configure the auto complete with an activity created in step 1.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules.
The issue is due to new line characters in the response json. New line characters cause exceptions while calling eval() on the response string. To fix the issue, new line characters must convert as <br> before parsing the results.
Resolution
This issue is resolved by HFix-22692.
Published July 1, 2015 - 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.