Skip to content

[JavaScript] Select Actions in RichTextBlocks are not disabled when isEnabled is set to false #6523

@RebeccaAnne

Description

@RebeccaAnne

Target Platforms

NodeJS

SDK Version

https://adaptivecardsci.z5.web.core.windows.net/designer 10/6/2021

Application Name

Designer

Problem Description

The isEnabled property is not respected on SelectActions on TextRuns.

Screenshots

image

Card JSON

{
	"type": "AdaptiveCard",
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"version": "1.5",
	"body": [
		{
			"type": "RichTextBlock",
			"inlines": [
				{
					"type": "TextRun",
					"text": "Do not click "
				},
				{
					"type": "TextRun",
					"text": "here",
					"selectAction": {
						"type": "Action.Submit",
						"isEnabled": false
					}
				},
				{
					"type": "TextRun",
					"text": ", as it is disabled."
				}
			]
		}
	]
}

Sample Code Language

No response

Sample Code

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions