Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update cards-actions.md
  • Loading branch information
v-bvishnu committed Oct 23, 2024
commit 1c1577ad31d4e684d4756bd7cac351e2872cf65d
Original file line number Diff line number Diff line change
Expand Up @@ -537,15 +537,15 @@ The following is an example of the incoming activity to a bot when user types so

The next section provides details on how to use existing Bot Framework actions with Adaptive Cards.

### Conditional enablement of action buttons in Adaptive Cards
### Conditional enablement of action buttons in an Adaptive Cards

In Adaptive Cards, there are scenarios where users might not fill inputs that have `isRequired` property set to `true`. Despite this, action buttons such as `Action.Submit` and `Action.Execute` stay enabled. To avoid incomplete submissions, use the `conditionallyEnabled` property to ensure that action buttons are disabled until the user provides the required inputs.
In an Adaptive Cards, there are scenarios where users might not fill inputs that have `isRequired` property set to `true`. Despite this, action buttons such as `Action.Submit` and `Action.Execute` stay enabled. To avoid incomplete submissions, use the `conditionallyEnabled` property to ensure that action buttons are disabled until the user provides the required inputs.

| Property| Type | Required | Description |
|-----------|------|----------|-------------|
| `conditionallyEnabled` | Boolean | Yes | Determines if the action button remains disabled until the user starts interacting with the inputs. |

You can use `associatedInputs` property to associate `Action.Submit` and `Action.Execute` to other inputs in the card. For more information, see [Data.Query definition](../../../Documents/GitHub/dev docs/msteams-docs/msteams-platform/task-modules-and-cards/cards/dynamic-search.md#dataquery-definition).
You can use `associatedInputs` property to associate `Action.Submit` and `Action.Execute` to other inputs in the card. For more information, see [Data.Query definition](dynamic-search.md#dataquery-definition).

Place holder for images

Expand Down