core2-jvm (latest)
core2-jvm (latest)core-jvm
  • Home
  • Features
  • Spec
  • Guides
  • Sandbox
  • Step Studio
  • Step
    • Action
    • External
    • Help
    • Link Handler
    • Navigation
    • Persist Async
    • Polling
    • Refresh On Change
    • Schema On Change
    • Step Error
    • Suggestions
    • Summary
    • Toolbar
    • 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
    • Divider Layout
    • Form Layout
    • Heading Layout
    • Image Layout
    • Instructions Layout
    • List Layout
    • Loading Indicator Layout
    • Markdown Layout
    • Media Layout
    • Modal Layout
    • Paragraph Layout
    • Progress Layout
    • Review Layout
    • Search Layout
    • Section Layout
    • Status List Layout
    • Tabs Layout
    • Upsell Layout
    • Behavior
    • Action Behavior
    • Copy Behavior
    • Dismiss Behavior
    • Link Behavior
    • Modal Behavior
    • Refresh Behavior
    • Subflow Behavior
    • Subflow
    • Dynamic Launch Config
    • Launch Config
    • Modal Presentation
    • Native Launch Config
    • Presentation
    • Push Presentation
    • Action Response Body
    • Error Response Body
    • Flow Response
    • Modal Response Body
    • No Op Response Body
    • Search Initial Layout Config
    • Search Initial Results Config
    • Search Initial State
    • Search Layout Response Body
    • Search Response
    • Search Response Body
    • Search Result
    • Search Results Response Body
    • Subflow Response Body
    • Additional Info
    • Align
    • Autocapitalization Type
    • Autocomplete Token
    • Context
    • Icon
    • Image
    • Inline Alert
    • Media
    • Native Capabilities
    • Request
    • Size
    • Supporting Values
    • Control
    • Tag

Review Layout

Android - 8.25.0 iOS - 11539 Web - 2.5.0

A list of read-only fields used to show information to the user for review.

review {
    title = "Please review your transfer"
    fields {
        field {
            label = "Recipient"
            value = "Florence Jones"
        }
        field {
            label = "Amount"
            value = "$6550"
        }
        field {
            label = "To be sent"
            value = "July 21, 2024"
        }
    }
    callToAction {
        title = "Edit"
        behavior = ActionBehavior.build {
            action {
                url = "/edit"
            }
        }
    }
}

When to use

  • When the users attention is meant to be on the values, rather than the labels. For example, when the user is being asked to check a number of fields that they have previously entered.

When not to use

  • When the primary action of the step is tied to an individual item, consider using a Decision Layout instead.
  • When the content being displayed represents separate entities of the same category, consider using a List Layout instead.
  • If the focus is on the labels rather than the values, consider using a List Layout instead.

Properties

PropertyTypeRequiredDescription
analyticsIdStringNoAn optional identifier to be used in analytics tracking.

callToAction

ReviewLayout.CallToAction

No

A titled Action which can be performed by the user

Android - 8.38.0 iOS - 8.29 Web - 2.5.0

controlStringNoSpecify a particular control to use to represent the layout. If the control is unknown, it will be ignored.
fieldsArray<ReviewLayout.Field>YesThe fields to be reviewed.
marginSizeNoThe vertical margin to apply after this component. Defaults to md.

tags

Array<String>

No

An optional list of identifiers used to configure renderers.

Android - 8.131.0 iOS - 8.125 Web - 4.33.0

titleStringNoTitle for the review block.
typeStringYesIt must be review.

Related Types

Field

A single field in a Review Layout.

Properties

PropertyTypeRequiredDescription

additionalInfo

AdditionalInfo

No

Additional information to be displayed to the user, with optional interactivity.

Android - 8.122.0 iOS - 8.119 Web - 4.25.0

analyticsId

String

No

An optional identifier to be used in analytics tracking.

Android - 8.118.0 iOS - 8.114 Web - 4.15.6

callToAction

ReviewLayout.CallToAction

No

A titled Behavior, associated with a specific field, and which can be performed by the user

Android - 8.122.0 iOS - 8.119 Web - 4.25.0

help

Help

No

Provide additional help information to the user.

Android - 8.25.0 iOS - 8.38 Web - 2.5.0

icon

Icon

No

An icon to represent the field.

Android - 8.123.0 iOS - 8.119 Web - 4.25.0

image

Image

No

An image to represent the field.

Android - 8.123.0 iOS - 8.119 Web - 4.25.0

inlineAlert

InlineAlert

No

An alert that will be displayed inline with the item.

Android - 8.122.0 iOS - 8.119 Web - 4.25.0

labelStringYesThe user-facing label.

media

Media

No

A media object (avatar, icon, image) which the client can use to represent this field.

Android - 8.123.0 iOS - 8.119 Web - 4.25.0

rawValue

String

No

The value of the field without any formatting applied. This can be used when you display a formatted value to the user, but want to provide an unformatted value to the client for other uses, for example when copying the value to the clipboard.

Android - 8.87.0 iOS - 8.83 Web - 3.24.0

tag

String

No

An optional identifier to be used in custom renderers.

Android - 8.101.0 iOS - 8.96 Web - 4.0.0

⚠️ Deprecated - Please use 'tags' instead

tags

Array<String>

No

An optional list of identifiers used to configure renderers.

Android - 8.131.0 iOS - 8.125 Web - 4.33.0

valueStringYesThe user-facing value.

Call To Action

The call to action configuration used by Review Layout or individual fields (Field). For example, it could be used to provide an edit action.

Properties

PropertyTypeRequiredDescription
accessibilityDescriptionStringNoA description of the call to action to be used by screen readers.

action

Action

No

The Action which should be performed.

⚠️ Deprecated - Please use behavior with an action instead.

behavior

Behavior

Yes

The Behavior that should be performed when user interacts with call to action.

Android - 8.88.0 iOS - 8.67 Web - 3.25.0

context

Context

No

The semantics of the call-to-action button. Defaults to neutral.

Android - 9.12.0 iOS - 9.12 Web - 5.7.0

titleStringYesA user-facing title.

Controls

horizontal

Android - Unsupported iOS - Unsupported Web - 2.5.0

Displays the field label and value inline.

horizontal-end-aligned

Android - Unsupported iOS - Unsupported Web - 3.11.0

Displays the field label inline, with the value aligned with the end edge based on locale.

horizontal-start-aligned

Android - Unsupported iOS - Unsupported Web - 3.11.0

Displays the field label inline, with the value aligned with the start edge based on locale.

vertical

Android - 8.25.0 iOS - 11539 Web - 2.5.0

Displays the field label and value vertically.

vertical-one-column

Android - 8.25.0 iOS - 11539 Web - 2.5.0

Displays fields vertically in a single column.

vertical-two-column

Android - Unsupported iOS - Unsupported Web - 3.11.0

Displays fields vertically in two columns.