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:
Sipke Schoorstra 2024-11-23 15:58:38 +01:00
parent eecebb70be
commit 95a2a3337f

View file

@ -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!;