# Relevant Cardscript iconAction.Cancel

Cardscript

Allows to cancel out of a form.

# Example

{
  "type": "AdaptiveCard",
  "body": [],
  "actions": [
    {
      "type": "Action.Cancel",
      "title": "Action.Cancel"
    }
  ],
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.0"
}

# Required properties

# type

Must be "Action.Cancel".

  • Type: string

# Optional properties

# title

Label for button or link that represents this action.

  • Type: string

# iconUrl

Optional icon to be shown on the action in conjunction with the title.


# JSON Schema

{
  "type": "Action.Cancel",
  "additionalProperties": true,
  "description": "Allows to cancel out of a form.",
  "properties": {
    "type": {
      "type": "string",
      "description": "Must be `\"Action.Cancel\"`."
    },
    "title": {
      "type": "string",
      "description": "Label for button or link that represents this action."
    },
    "iconUrl": {
      "type": "string",
      "format": "uri",
      "description": "Optional icon to be shown on the action in conjunction with the title",
      "version": "1.1"
    }
  },
  "required": [
    "type"
  ],
  "typeSafe": "action-cancel",
  "example": "FIXME!",
  "propertySummary": [
    {
      "name": "type",
      "type": "string",
      "required": "Required",
      "text": "Must be `\"Action.Cancel\"`."
    },
    {
      "name": "title",
      "type": "string",
      "required": "Optional",
      "text": "Label for button or link that represents this action."
    },
    {
      "name": "iconUrl",
      "type": "string",
      "required": "Optional",
      "text": "Optional icon to be shown on the action in conjunction with the title"
    }
  ]
}
Last Updated: 9/10/2023, 11:30:14 AM