Issue with Text Box Rendering in Read-Only Mode

Hi All,

I’m facing an issue with text rendering in our application. When a text box is in edit mode, long text or paragraphs wrap correctly across multiple lines. However, once the text is switched to read-only mode, the content spans across a single extended line without breaking, which makes the UI look distorted.

Could you please suggest a solution or workaround for this behavior?

Thanks in advance,

readonly

I Set the Data Using DT It is working to me you can see in the below Images

I believe the issue stems from the width configurations of the layouts enclosing these fields. In edit mode, the field seems to be contained within a multi-column layout, restricting its width and forcing the text to wrap. In read-only mode, however, it appears to be rendering within a wider or single-column layout, allowing the free text to stretch into a single line. Because this is standard text rather than Rich Text, new-line characters aren’t inherently stored or enforced in the read-only view. This is actually expected behavior for standard text inputs under these layout changes. If you need the read-only text to be same as editable text, you need to use Rich text field.