cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
furqanmajeed
Frequent Visitor

How to fix the width of the adaptive card field?

I have an adaptive card comes up for user to fill in the information. I am using JSON to display this field(code mentioned in below.) How can I fix the width of the text box. It is kind of big which doesnt look good in UI. Is there anyway I can fix it. 

 

Thank you. 

JSON code of the field:

{
"type": "Input.ChoiceSet",
"id": "Country",
"placeholder": "Please select Country",
"style": "compact",
"isMultiSelect": false,
"label": "Country",
"isRequired": true,
"errorMessage": "Required input",
"choices": [
{
"title": "United States",
"value": "1"
},
{
"title": "Canada",
"value": "2"
}
]
},

 

furqanmajeed_0-1662576796818.png

 

1 REPLY 1
Expiscornovus
Super User
Super User

Hi @furqanmajeed,


As far as I can tell the Input.ChoiceSet does not have a property for that. But you might be able to workaround it by using for example a columnset, column or a table.



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Helpful resources

Announcements
Power Virtual Agents News & Announcements

Power Virtual Agents News & Announcements

Keep up to date with current events and community announcements in the Power Virtual Agents community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Virtual Agents Community Blog

Power Virtual Agents Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,107)