Use the <string>tag to designate an input field for the text information. The element is similar to React.Component.
Available attributes:
Attribute
Type
Mandatory
Description
class
String
N
Specify the CSS class name defined in the CSS field of the widget.
isMandatory
Boolean
N
Set the value totrueto makethe field mandatory. The default value is false.
isVisible
Boolean
N
Set the value tofalseto hidethe tag. The default value is true.
label
String
N
Describe the field content by giving it a title.
model
String
Y
Specify this attribute to connect theclient controller data object. When the model data changes, it is automatically transferred to the data of the client controller.
placeholder
String
N
Specify a placeholder for the field.
readOnly
Boolean
N
Set the value totrueto makethe field read-only. The default value is false.
style
String
N
Specify the display settings (size, font, color, and others) of the tag elements using theCSS syntax.
value
String
N
Specify the default value for the field.
fieldInfo
Object
N
Specify additional information for the field:
help –adds a question mark on the right from the title. Specify the text that appears when the user clicks the question mark.
hint – adds a tooltip that appears when a user moves the pointer over the title.
An example of the fieldInfo value with the help and hint objects: