elsa-workflows / elsa-workflows/elsa-core
setting default values for MultiText control does not work
Open
bug
elsa 2
triaged
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
in version 2.12, I use the following code to add a MultiText control in my custom activity:
[ActivityInput(
UIHint = ActivityInputUIHints.MultiText,
DefaultSyntax = "Json",
SupportedSyntaxes = new[] { "Json", "Liquid" },
Label = "Branch",
ConsiderValuesAsOutcomes = true)]
public ICollection PossibleOutcomes { get; set; } = new List { "test1", "test2" };
but it doesn't work, there is no default value shown in the designer:

Contributor guide
Assessment
This issue has not been assessed yet.