Hi,
How do I implement search (Typeahead search) option in my adaptive card with dropdowns as Copilot studio does not allow 'Choices.data':
My adaptive card without typeahead search:
{
'$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
type: "AdaptiveCard",
version: "1.5",
body: [
{
type: "TextBlock",
text: "Please select your target Application:",
wrap: true
},
{
type: "Input.ChoiceSet",
id: "userSelection",
choices: Topic.ApplicationNamesTable
}
],
actions: [
{
type: "Action.Submit",
title: "Submit"
}
]
}
Thank you so much! Works like a charm.
Try this, it should work
{
'$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
type: "AdaptiveCard",
version: "1.5",
body: [
{
type: "TextBlock",
text: "Please select your target Application:",
wrap: true
},
{
type: "Input.ChoiceSet",
id: "userSelection",
style: "filtered",
choices: Topic.ApplicationNamesTable
}
],
actions: [
{
type: "Action.Submit",
title: "Submit"
}
]
}