Conditional UI
Use conditional UI when a component should change based on a value or piece of logic.
Common uses include showing, hiding, disabling, or updating a setting.
Add a condition
- Select a component
- Open the
Conditionssection in the settings panel - Select
Add condition - Choose the action you want to apply
- Define the comparison
Condition actions
- Show
- Hide
- Update setting
Enable or disable a condition
Use the toggle in the conditions drawer to disable a condition without deleting it.
Disabled conditions are ignored in the builder preview and the published app.
Use role-based conditions
Conditions can also hide or show components based on the current user's role.
Role values must be uppercase:
BASICPOWER(Deprecated)ADMIN
NB: Custom Roles must be referenced by their ID, not their name.
Updated 3 months ago
Did this page help you?