Mashup Builder > Widgets > Beta Widgets > Text Area Widget (Beta)
  
Text Area Widget (Beta)
The Text Area widget enables the mashup user to enter a multi-line text in a mashup.
* 
The Text Area widget is available as a Beta widget in the ThingWorx platform and as a web component that can be imported from an SDK.
The SDK is available at PTC Support under Download Software > Order or Download Software Updates > ThingWorx Platform > Release 8.4.
The properties of the Text Area widget are listed below.
Property Name
Description
Base Type
Default Value
Bindable? (Y/N)
Localizable? (Y/N)
Text
The text that is displayed in the text area.
STRING
n/a
Y
Y
Label
The text that is displayed as the label for the text area.
STRING
n/a
Y
Y
Counter
Counts and displays the number of characters that are entered in the text area.
BOOLEAN
False
N
N
MaxNumberOfCharacters
Enables you to set a maximum number of characters allowed in the text area.
NUMBER
100
Y
N
HintText
Displays placeholder text that explains what should be entered in the field.
STRING
n/a
N
Y
Disabled
Use this property to disable the widget in the mashup. The widget is displayed in the mashup but you cannot click it.
BOOLEAN
False
Y
N
ReadOnly
Enables you to set the text area as read-only and the user cannot edit the included text.
BOOLEAN
False
N
N
TextAlignment
Enables you to align the text to the left or right.
STRING
Left
N
N
LabelAlignment
Enables you to align the label to the left, right or centre.
STRING
Left
N
N
TabSequence
The sequence of the widgets in which they are highlighted when the user presses Tab key.
NUMBER
n/a
N
N
CustomClass
Enables you to define the CSS to the top div of the widget. Multiple classes can be entered, separated by space.
STRING
n/a
Y
N
Changed
The event that is triggered when the data is modified.
n/a
n/a
Y
N
ResetToDefaultValue
Resets the inputs for this widget to their default values.
n/a
n/a
Y
N
Width
The width of the widget.
NUMBER
273
N
N
Height
The height of the widget. It is automatically calculated by default. Enter a value in the property panel or resize the widget in the canvas to set a fixed height.
NUMBER
Autosize
N
N