botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

FormOptions.PromptFieldsWithValues

Open rodzillarr opened this issue 10 years ago • 1 comments

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);

rodzillarr avatar May 07 '16 01:05 rodzillarr

Works when I use it like so: FormOptions.PromptFieldsWithValues | FormOptions.PromptInStart

Thanks!

rodzillarr avatar May 07 '16 02:05 rodzillarr