Content Text
The Content Text Editor is a dynamic, user-friendly component within the Workmaster that allows users to create, modify, and customize textual content for various UI widgets (such as headings, labels, buttons, etc.). It serves as a core interface for managing static and dynamic text values in the application.
Key Features:
Static Text Insertion Users can directly input static text within supported widgets (e.g., Headings, Labels, Buttons). This enables quick content updates without any need for code.
Dynamic Content Insertion The editor supports inserting dynamic expressions and calculated values. These expressions can reference variables, user inputs, API responses, or perform computations. For example, you can display a user’s full name or calculate and display the total price using real-time data.
Expression Evaluation Expressions concatenated with
&
are automatically parsed and evaluated at runtime. This allows seamless integration of logic and data manipulation directly within text fields.
Possible Values
string
A sequence of characters used for plain text. Can include static text or dynamic expressions.
Example: "Hello, World!"
number
Numeric values, either static or computed.
Example: 100
, 100 * 50
boolean
Logical values: true
or false
. Often used for conditionally displaying content or toggling states.
Example: true
, false
expression
A combination of variables, functions, and operators that resolve to a string, number, or boolean.
Example: "Hello "&GETCURRENTUSERNAME()
null
/ undefined
Represents a missing, undefined, or unavailable value, such as null
, undefined
, or a function like GETCURRENTUSERNAME()
when no user is logged in. Used to handle defaults, validate presence, or control logic.
Examples


Inline Text Editing: Static


Last updated