botframework-sdk
botframework-sdk copied to clipboard
FormOptions.PromptFieldsWithValues
C# / latest version of the botframework as of today
When I pass in state to my dialog it's expected that the dialog is going to skip all the fields which already have a value, however my understanding from the source code and docs is that by passing in the PromptFieldsWithValue option the dialog would not skip them. This doesn't appear to be working. When I do this I get a blank message returned from the bot:
context.Call( new FormDialog<MyDialog>(existingDialogState, MyDialog.BuildForm, FormOptions.PromptFieldsWithValues), null);
Works when I use it like so:
FormOptions.PromptFieldsWithValues | FormOptions.PromptInStart
Thanks!