Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 3MU7Fpod1WczQKUhm9DI5X
Copilot Studio - General
Answered

Search (Typeahead search) option in dropdowns in Adaptive cards

Like (0) ShareShare
ReportReport
Posted on 14 May 2024 13:22:56 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
    92 on 14 May 2024 at 16:02:08
    Re: Search (Typeahead search) option in dropdowns in Adaptive cards

    Thank you so much! Works like a charm.

  • Verified answer
    BhaskarDhone Profile Picture
    784 Super User 2025 Season 1 on 14 May 2024 at 15:31:02
    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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard
Loading started