BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

Generated form dialog of 'any string' contains unexpected '${property}' in content

Open yeze322 opened this issue 5 years ago • 0 comments

Versions

@microsoft/bf-generate-library/4.10.0 win32-x64 node v12.14.1

Describe the bug

Give a clear and concise description of what the bug is.

In Composer, create a form property typed with "any string", the generated dialog contains unexpected '${property}' in content.

For example - In the Trigger name: age - Add(@${property}Entity) - In the expression value - ${confirmationText('age', @${property}Entity)}.

Schema:

image

Generated Expression value

image

Generated Trigger name:

image

To Reproduce

Steps to reproduce the behavior:

  1. Add a form property typed with "any string"
  2. Generate the dialog with cli
  3. Check the generated dialog content

Expected behavior

Give a clear and concise description of what you expected to happen.

The "${property}" needs to be resolved as the given property name.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

[bug]

yeze322 avatar Nov 25 '20 01:11 yeze322