Support Article
Autocomplete is off after section refresh
SA-10396
Summary
The developers have implemented a section that calls an AutoComplete control, where this calls an Activity which requires parameters to determine the correct data to return. This section also includes an action that allows them to open a modal and select some further data to populate another control in that section. Initially the developers had used the out-of-the-box AutoComplete control, but this was not returning any data.
The developers had subsequently built a custom AutoComplete control which would also handle parameters.
This was working correctly when users initially loaded the section. However, if they then opened the modal and selected a value this cause a ReloadSection to be issued. Subsequently custom AutoComplete did not work.
Error Messages
Not Applicable
Steps to Reproduce
Not Applicable
Resolution
The control was reverted to use the OOTB AutoComplete control.Additionall the two parameters used by the AutoComplete logic were also added on to the section, and associated with the HiddenValue control. After making this change the autocomplete was functioning correctly both before and after the modal was used.
Published February 9, 2016 - 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.