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

Set Focus moving the cursor to the beginning of text

SA-20533

Summary



Set Focus action on a text input is moving the cursor to the beginning of text with Pega 7.1.8.


Error Messages



Not Applicable.


Steps to Reproduce



1) In a text input enter some text with refresh section.
2) Action on the text input should change the values in the dropdown.
3) In drop down have an action to set focus back to the text input.

After the set focus, the cursor will be at the beginning and not at the ending of the text entered into the text input.


Root Cause



An issue in the custom application code or rules.
 

User is configuring setValue on each key press which is causing focus to be shifted to property bounded control and refreshing whole section on refresh.

Usecase is to show results in grid on each key press. 

 

Resolution



Perform the following local-change:

R
un activity on each key press and refresh the grid specific section.
Note: It is not required to do setValue on each key press when setting default value and that values is not changing.

 

Published March 5, 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