textarea loose formatting when read only
tfaJun 4 2007 — edited Jul 6 2007I'm using an item that displays as a textarea. The item is on a single record form built over a varchar2(4000) column.
The issue is that when the textarea item is conditionally rendered as read-only the result is the item has all the line return characters stripped. The read-only formatting does not look good as the text looks like one large paragraph without line returns, chr(10).
When the textarea item is not read-only the formatting of line returns looks fine.
Why is it that making an item read-only strips the line returns? How is it possible to retain the line returns when the item is in read-only.
Here is an example of the output formatting.
text should look like:
(1) list entry one
(2) list entry two
(3) list entry three...
The text is formatted like this when the item is conditionally set to read-only:
(1) list entry one (2) list entry two (3) list entry three...
Thanks,
Todd