Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add default alwaysPrompt value in OAuthInput step #2266

Merged
merged 1 commit into from
Mar 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ export const uiSchema: { [key in SDKTypes]?: UiSchema } = {
'ui:widget': 'TextareaWidget',
},
'ui:order': ['connectionName', '*'],
'ui:hidden': ['alwaysPrompt'],
},
[SDKTypes.QnAMakerDialog]: {
strictFilters: {
Expand Down
7 changes: 7 additions & 0 deletions Composer/packages/lib/shared/src/appschema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1967,6 +1967,13 @@ export const appschema: OBISchema = {
examples: ['dialog.token'],
type: 'string',
},
alwaysPrompt: {
type: 'boolean',
title: 'Always prompt',
description: "Collect information even if the specified 'property' is not empty.",
default: true,
examples: [false],
},
},
},
'Microsoft.OnActivity': {
Expand Down