A quick reminder style post. If you get this strange sounding exception; Prompt options are required for Prompt dialogs
Then you’ve probably made the same mistake I did and forgot to add the waterfall steps to the dialogset;
var waterfallSteps = new WaterfallStep[] { InitializeStateStepAsync, PromptForDescriptionStepAsync, PromptForTopicStepAsync, DisplaySummaryStepAsync, }; // * forgot to add this line // AddDialog(new WaterfallDialog("DescAndTopicDialog", waterfallSteps)); AddDialog(new TextPrompt(DescriptionPrompt, ValidateDescriptionAsync)); AddDialog(new TextPrompt(TopicPrompt, ValidateTopicAsync));
Hi Thank you for the tip. Found another issue on the same.
We get the same issue if the order is not followed.
It is always waterfallsteps, then prompts. If we reverse it, we still get the issue.
Strange, but happening 😦
Thank you.
Yes, I’ve seen that too…https://pauliom.com/2019/01/14/using-a-waterfall-dialog-gotcha/