Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

[dialog factory] create lg template when an lg field has a default value #2406

@a-b-r-o-w-n

Description

@a-b-r-o-w-n

Describe the bug

Currently, when adding actions that include default values for lg, like QnA step, the editors complain that there are no templates in the lg file. To fix this, the form should create one if there is no value and a default is provided.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new QNA maker step in a brand new bot without any lg (like EmptyBot).

Expected behavior

No error should be shown.

Screenshots

image

Metadata

Metadata

Assignees

Labels

R10Release 10 - August 17th, 2020Type: BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions