If yes, how to properly set text? defalutValue see...
# suitescript
d
If yes, how to properly set text? defalutValue seems doesn't change anything.
b
not really sure what you mean by simple
my guess is that you should update the display type of the field to inline
and just set its value using defaultValue
d
Well, not a edit field
b
set its type to be a normal text field
d
Copy code
serverWidget.FieldType.INLINEHTML
Shows text (20.28 USD) as not editable (exactly what I need), but the font is smaller and header (BALANCE) is not shown.
Copy code
serverWidget.FieldType.TEXT
result is the editable text field
message has been deleted
Ok, got it. First
Copy code
type: serverWidget.FieldType.TEXT,
and then
Copy code
.updateDisplayType({displayType: FieldDisplayType.INLINE})
Sorry, didn't get it initially.
Thank you @battk!
b
i generally try to make my words match what the code looks like when i dont actually give code