I have a problem with the read-only tagAccording to the syntax in the manuals. This is my code snippet[...]This doesnt work....The alternative someone suggested [...]This make the field readonly but is not marked as mandatory and displays it as a textarea field....I am using TS 6.5
<item name="tempID"> <text required="t"> <default>temp</default> </text></item>
...IWDatacapture.getItem('/.../tempID').setReadonly(true);...
<readonly/>
<hidden/>