I am using the sample "SandwichOrder" code. When I use the property "Describe" to change the item value the bot doesn't understand the setted value.
public enum LengthOptions
{
[Describe("Test 1")]
SixInch = 1,
[Describe("Test 2")]
FootLong = 2
};
This is the output:
It's the problem how
FormFlow
handles the feedback after user's selection, the result is actually right the type ofLengthOptions
. Since we're not able to modify the source code ofBotBuilder SDK
, here is a workaround to solve this problem: we try to override the feedback of this item inFormFlow
, and here is the code when building theFormDialog
:The
Length
property in above code can be defined like this:Here is the test result: