VMware Cloud Community
Czernobog
Expert
Expert
Jump to solution

vRA 8.9 - custom form - break line in text area?

I have a custom form configured, within it is a read-only text area field displaying some information for the service user. The information displayed should be divided into sections by break line (break row).

In vRA 7 I used \n for this, in vRA8 this seems to be discovered ("\n" is not displayed as part of a string), but there is no break line happening.

Is there a way to correctly display a break line in a vRA 8.9 custom form?

0 Kudos
1 Solution

Accepted Solutions
Czernobog
Expert
Expert
Jump to solution

Found a solution, by adding the white-space property to the textarea field, in the imported CSS file:

 

 

cf-textarea {
white-space: pre;
}

 

View solution in original post

1 Reply
Czernobog
Expert
Expert
Jump to solution

Found a solution, by adding the white-space property to the textarea field, in the imported CSS file:

 

 

cf-textarea {
white-space: pre;
}