Skip to content

Commit

Permalink
Add UIHint for FlowJoin activity
Browse files Browse the repository at this point in the history
The FlowJoin activity's join mode now includes a UIHint, which indicates its input is a dropdown. This improves user interface interaction by allowing the selection of join mode from a dropdown menu rather than manual input.
  • Loading branch information
sfmskywalker committed Dec 31, 2023
1 parent cf3cab2 commit 8bb36de
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Elsa.Workflows.Activities.Flowchart.Models;
using Elsa.Workflows.Attributes;
using Elsa.Workflows.Models;
using Elsa.Workflows.UIHints;
using JetBrains.Annotations;

namespace Elsa.Workflows.Activities.Flowchart.Activities;
Expand All @@ -26,7 +27,8 @@ public FlowJoin([CallerFilePath] string? source = default, [CallerLineNumber] in
/// </summary>
[Input(
Description = "The join mode determines whether this activity should continue as soon as one inbound path comes in (Wait Any), or once all inbound paths have executed (Wait All).",
DefaultValue = FlowJoinMode.WaitAny
DefaultValue = FlowJoinMode.WaitAny,
UIHint = InputUIHints.DropDown
)]
public Input<FlowJoinMode> Mode { get; set; } = new(FlowJoinMode.WaitAny);

Expand Down

0 comments on commit 8bb36de

Please sign in to comment.