Starting from this example:
https://www.smartclient.com/smartcli...rmLayoutTitles
I use this form:
I see this:

i.e., it is not html encoding the displayed text. If I comment out the "readOnlyDisplay:static" line, then I see this:

In my real code, the DOM is getting messed up somehow (the defaultValue is "<N/Aa") but I couldn't figure out how to reproduce that in your showcase so here's a screencap of the dom.

Anyway, I can address this on my end, but ideally, I don't think I should have to manipulate my data in order to get it to display consistently for different values of readOnlyDisplay.
Thanks.
https://www.smartclient.com/smartcli...rmLayoutTitles
I use this form:
Code:
isc.DynamicForm.create({
ID: "exampleForm",
width: 250,
readOnlyDisplay:"static",
fields: [
{name: "username",
title: "Username",
type: "text",
canEdit:false,
defaultValue: "<NaN"
},
{name: "username2",
title: "Username2",
type: "text",
canEdit:false,
defaultValue: "<NaN"
},
]
});
i.e., it is not html encoding the displayed text. If I comment out the "readOnlyDisplay:static" line, then I see this:
In my real code, the DOM is getting messed up somehow (the defaultValue is "<N/Aa") but I couldn't figure out how to reproduce that in your showcase so here's a screencap of the dom.
Anyway, I can address this on my end, but ideally, I don't think I should have to manipulate my data in order to get it to display consistently for different values of readOnlyDisplay.
Thanks.
Comment