Set default syntax and UI hint for Predicate input
Added `DefaultSyntax` and `UIHint` properties to the Predicate input field in the MessageReceived activity. This change ensures the input field is configured for JavaScript syntax and provides an expression editor for better user experience.
This commit is contained in:
parent
eecebb70be
commit
95a2a3337f
|
|
@ -49,7 +49,9 @@ public class MessageReceived : Trigger<object>
|
|||
|
||||
[Input(
|
||||
Description = "Optional. A predicate to filter messages.",
|
||||
AutoEvaluate = false
|
||||
AutoEvaluate = false,
|
||||
DefaultSyntax = "JavaScript",
|
||||
UIHint = InputUIHints.ExpressionEditor
|
||||
)]
|
||||
public Input<bool> Predicate { get; set; } = default!;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue