Support Article

Continuous Spaces are getting replaced to single spaces in Text

SA-63434

Summary



Multiple spaces are added to a text input (that is, continuous spaces in between strings). On clicking the Save button to save the text, the spaces are truncated to a single space and saved to the Clipboard.

For example, 

'ABCDEF         23' is saved as 'ABCDEF 23'.

As a result, the value sent to the API is incorrect and invalid results display.



Error Messages



Not Applicable


Steps to Reproduce

  1. Add a text input.
  2. Enter a string containing multiple spaces (that is, continuous spaces). Check the resultant value stored in the property (in the Clipboard). The spaces are truncated to a single space.


Root Cause



A third-party product issue: Default browser behavior.


Resolution



An enhancement request, FDBK-27913, is created for consideration by Pega Product Management.


 
Suggest Edit

Published October 17, 2018 - Updated October 8, 2020

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.