Dynamic UI expressions
Expressions in KAIZEN are short, JavaScript-based snippets used in the Variable Binding feature of the App Designer. They allow you to make the UI dynamic by linking a component's properties directly to the application's data and state.
To use a dynamic expression, perform the following:
-
Select a UI Component: In the App Designer, click on a component like an Input or a Form section.
-
Choose a property: In the Setter Plugin, find the property you want.
For example, the Visible property in the Advanced tab.
-
Open Variable Binding: Click the Variable Binding icon
next to the property.
-
Enter the expression: In the dialog, enter the JavaScript expression which will evaluate to the value you want.
-
Click Confirm. The property will be dynamically controlled by the expression.
Common examples include:
-
Data binding in a list: To display a product name in a repeating list, the expression for a Text component content will be
this.item.heading. -
Conditional visibility: To show a form step only when the application state is correct, the expression for the Visible property will be
this.state.currentStep == 1 || this.state.showAll.
Last updated on 20 May 2026