Skip to main content

Notifications

Copilot Studio - General
Answered

Search (Typeahead search) option in dropdowns in Adaptive cards

(0) ShareShare
ReportReport
Posted on by 92

Hi,

How do I implement search (Typeahead search) option in my adaptive card with dropdowns as Copilot studio does not allow 'Choices.data':

Viswav_0-1715692876602.png


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"
 }
 ]
}


@remidyon @adilei 
Thanks 

  • Viswav Profile Picture
    Viswav 92 on at
    Re: Search (Typeahead search) option in dropdowns in Adaptive cards

    Thank you so much! Works like a charm.

  • Verified answer
    BhaskarDhone Profile Picture
    BhaskarDhone 779 on at
    Re: Search (Typeahead search) option in dropdowns in Adaptive cards

    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"
     }
     ]
    }

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard