Skip to content

Commit

Permalink
Feed string, not int, to Switch per schema (microsoft#7707)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Whitten <[email protected]>
  • Loading branch information
taicchoumsft and cwhitten authored May 7, 2021
1 parent 3a0e0af commit 00069ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Composer/packages/lib/shared/src/dialogFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const initialDialogShape = () => ({
$designer: {
id: generateDesignerId(),
},
condition: '=count(dialog.candidates)',
condition: '=string(count(dialog.candidates))',
cases: [
{
value: '0',
Expand Down

0 comments on commit 00069ea

Please sign in to comment.