core-jvm
core2-jvm (latest)core-jvm
  • Home
  • Features
  • Examples
  • Spec
  • Guides
  • Sandbox
  • Step Studio
  • Step
    • Action
    • Behavior
    • External
    • Help
    • Link Handler
    • Navigation
    • Persist Async
    • Polling
    • Refresh On Change
    • Step Error
    • Summary
    • Upload
    • Validate Async
    • Schema
    • All Of Schema
    • Array Schema
    • Blob Schema
    • Boolean Schema
    • Const Schema
    • Integer Schema
    • Number Schema
    • Object Schema
    • One Of Schema
    • String Schema
    • Layout
    • Alert Layout
    • Box Layout
    • Button Layout
    • Columns Layout
    • Decision Layout
    • Form Layout
    • Heading Layout
    • Image Layout
    • Instructions Layout
    • List Layout
    • Loading Indicator Layout
    • Markdown Layout
    • Modal Layout
    • Paragraph Layout
    • Review Layout
    • Search Layout
    • Status List Layout
    • Action Response Body
    • Error Response Body
    • Flow Response
    • Search Response Body
    • Search Result
    • Align
    • Autocapitalization Type
    • Autocomplete Token
    • Context
    • Icon
    • Image
    • Size
These docs refer to the older 1.x release of Dynamic Flow.
Go to the latest docs

Decision Layout

Android - 8.25.0 iOS - 11539 Web - 2.5.0

A set of options which each perform an Action.

Properties

PropertyTypeRequiredDescription
controlStringNoSpecify a particular control to use to represent the layout. If the control is unknown, it will be ignored.
marginSizeNoThe vertical margin to apply after this component. Defaults to md.
optionsArray<DecisionLayout.Option>YesArray of options.

title

String

No

Title for the decision block.

Android - 8.70.0 iOS - 12488 Web - 3.15.0

typeStringYesIt must be decision.

Related Types

Option

An option is a single entry in the decision that the user can choose.

Properties

PropertyTypeRequiredDescription
actionActionYesThe action to perform when selected.
descriptionStringNoA user-facing description.
disabledBooleanNoIf true, user interaction is disabled. Defaults to false.
iconIconNoAn icon to represent the option.
imageImageLayoutNoAn image to represent the option.

tag

String

No

An optional identifier to be used in custom renderers.

Android - 8.101.0 iOS - 12987 Web - 4.0.0

⚠️ Experimental - This may be changed in the future without notice.

titleStringYesA user-facing title.