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

AutoComplete shows complete result-set only on first time search



The values in the autocomplete not displayed second time. Initially when user accesses auto complete for searching on Screen, autocomplete which is loading through data page is giving all the results.

But after search is done, again if user tries to see all the results in drop-down, only some are displayed.

Error Messages

In Log file:** Section 'TestSec' execution error on page '' of class 'ABC-XYZ-Work'. : For input string: ""

Steps to Reproduce

1.Add autocomplete with source as data page in a section.
2.Add a repeating grid below auto-complete with pagination enabled in grid in same section.
3.On change of auto-complete grid will be populated with respective values.
4.Run case and open auto-complete popup. Observe it shows full list.
5.Select any and let the grid populate.
6.Now open auto-complete popup again. Observe few values are missing on popup scroll.

Root Cause

A defect in Pegasystems’ code or rules :

First time autocomplete shows all result.Selecting any value from this will populate a grid below.
After that when autocomplete is searched for another value on scroll, result popup in blank after scrolled view.

Made grid pagination to None, after that auto-complete search worked properly all time.

In tracer could see error as "** Section 'TestSec' execution error on page '' of class 'ABC-XYZ-Work'. : For input string: ""
Also same time tracer shows scrolled results for popup from start Index 41 as well as grid result from StartIndex 41.

When Grid pagination is set to None, tracer shows only results for auto-complete from startIndex 41.

Issue is due to wrong java being executed on scroll of autocomplete results. This will happen when the autocomplete section has a conflicting grid included.


Perform the following local-change:

Add autocomplete to a wrapper section and include this wrapper in the original section.

Suggest Edit

Published July 20, 2017 - 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