Support Article

Inner Whitespace of Text Field Trimmed

SA-37134

Summary



White spaces getting trimmed in clipboard for a Porperty of UI control as text input.
This behaviour is causing integration to client external service to fail, as it expects all inner whitespace.
Need a fix so that inner whitespace is retained, or at least we have the option to decide.


Error Messages



See Description


Steps to Reproduce



See Description


Root Cause



No specific root cause for the issue. The reported scenario is default HTML behaviour.

Resolution



Here’s the explanation for the reported behavior:

Informed customer that its the default HTML behaviour and nothing to do with Pega code. Also provided below articles for conirmation and testing.
http://www.wikihow.com/Insert-Spaces-in-HTML

You can test the sample scenario in the below website.
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_submit

Published April 27, 2017 - Updated April 29, 2017

Have a question? Get answers now.

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