Skip to content

Commit

Permalink
add default alwaysPrompt value in OAuthInput step
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlong9278 committed Mar 13, 2020
1 parent bbaad90 commit 6be70ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
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

0 comments on commit 6be70ae

Please sign in to comment.