Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Comments

fix: show choices when it's typed with string[] or expression#2334

Merged
a-b-r-o-w-n merged 3 commits intomicrosoft:masterfrom
yeze322:visual/choice-fix
Mar 23, 2020
Merged

fix: show choices when it's typed with string[] or expression#2334
a-b-r-o-w-n merged 3 commits intomicrosoft:masterfrom
yeze322:visual/choice-fix

Conversation

@yeze322
Copy link
Contributor

@yeze322 yeze322 commented Mar 23, 2020

Description

According to sdk.schema, the 'choices' field of 'Microsoft.ChoiceInput' could be typed with 3 types:

  1. object list
  2. string list
  3. expression string.
    This PR makes Visual Editor support all of these 3 formats by updating uischema definitions.

closes #2319

Task Item

#2319

Screenshots

According to sdk.schema, the 'choices' field of 'Microsoft.ChoiceInput' could be either object list or string list. Make Visual Editor support both of those formats.
microsoft#2319
According to sdk definition, 'choices' could be an expression string.
@yeze322 yeze322 changed the title fix: show choices when it is string[] fix: show choices when it's typed with string[] or expression Mar 23, 2020
@a-b-r-o-w-n a-b-r-o-w-n merged commit 45f673c into microsoft:master Mar 23, 2020
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…oft#2334)

* fix🐞(uischema): fix choices string
According to sdk.schema, the 'choices' field of 'Microsoft.ChoiceInput' could be either object list or string list. Make Visual Editor support both of those formats.
microsoft#2319

* fix🐞(uischema):dynamic choices
According to sdk definition, 'choices' could be an expression string.

Co-authored-by: Andy Brown <asbrown002@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants