Request the 'ChoiceInput' form provides an extra field 'choice.description' over 'choice.value'
See original GitHub issueIs your feature request related to a problem? Please describe.
Sometimes, I want the choice text more descriptive in my ChoiceInput, however, the input value bot collected will also be the descriptive text, it makes me painful when dealing with the choice result in following actions.
Describe the solution you’d like
There should have two fields in a choice, one for choice description and will be shown in webchat, another for the real choice value which will be saved to memory as the result. The key names, for example, choice.value
and choice.description
.
Describe alternatives you’ve considered
I know I can choose ‘index’ as the output format, it’s definitely an alternative solution. Is it possible to give some hints in the editor to let user know the real text value of the choice index?
Additional context My ‘Output Format’ is set to ‘value’.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
@cwhitten the capability exists in the SDK to express display text (description rendered on screen) .vs. value via
cardAction
. Here is the example in both C# sample as well as declarative JSON. Can you take a look and let us know if you need anything else to light up the card action experience in composer from a schema definition POV?And here is the declarative form
@tomlm one more schema update.