elsa-workflows / elsa-workflows/elsa-core

ActivityInput.DefaultSyntax is not properly respected by the designer

Open
#3,766 2 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

Setting the `DefaultSyntax` of an `[ActivityInput]` does properly configure the `elsa-property-editor`/`elsa-multi-expression-editor` component(s) with the default syntax. This causes the UI to always treat the default syntax as if it were `SyntaxNames.Literal` but the server to use the `DefaultSyntax` configured in the `[ActivityInput]`.

This is specifically with a `DefaultSyntax = SyntaxNames.Liquid, UIHint = ActivityInputUIHints.MultiLine`. Removing the `UIHint` appears to make it bind to the correct expression, however, it only presents a single line for input.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.