Common component properties
Some properties are common to all components. See the details below:
When - this property is used at two levels, in components to show/hide any component conditionally, and in actions to execute/not execute an action.
Below are the settings to use with the when property:
- When: true
- When: false
- When: =@ctx set with an expression
The example below demonstrates how the when property is used at a component level to display a component.text-field (Note requirements) only when the component.checkbox (Special Diet) is selected.