Skip to content

Commit

Permalink
Remove DisableSyntaxSelection class and references
Browse files Browse the repository at this point in the history
Deleted the DisableSyntaxSelection class and its references from various files. This includes removing its registration as a Scoped service and associated usage in the `RunJavaScript` activity.
  • Loading branch information
sfmskywalker committed Sep 15, 2024
1 parent f5bcaa3 commit bfc856f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public RunJavaScript(string script, [CallerFilePath] string? source = default, [
/// <summary>
/// A list of possible outcomes. Use "setOutcome()" to set the outcome. Use "setOutcomes" to set multiple outcomes.
/// </summary>
[Input(Description = "A list of possible outcomes.", UIHint = InputUIHints.DynamicOutcomes, UIHandler = typeof(DisableSyntaxSelection))]
[Input(Description = "A list of possible outcomes.", UIHint = InputUIHints.DynamicOutcomes)]
public Input<ICollection<string>> PossibleOutcomes { get; set; } = default!;

/// <inheritdoc />
Expand Down
4 changes: 0 additions & 4 deletions src/modules/Elsa.Workflows.Core/Features/WorkflowsFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Elsa.Features.Abstractions;
using Elsa.Features.Attributes;
using Elsa.Features.Services;
using Elsa.JavaScript.Activities;
using Elsa.Workflows.ActivationValidators;
using Elsa.Workflows.Builders;
using Elsa.Workflows.Contracts;
Expand Down Expand Up @@ -175,9 +174,6 @@ private void AddElsaCore(IServiceCollection services)
.AddScoped<IUIHintHandler, DropDownUIHintHandler>()
.AddScoped<IUIHintHandler, CheckListUIHintHandler>()
.AddScoped<IUIHintHandler, JsonEditorUIHintHandler>()

// Property UI handlers.
.AddScoped<IPropertyUIHandler, DisableSyntaxSelection>()

// Logging
.AddLogging();
Expand Down

This file was deleted.

0 comments on commit bfc856f

Please sign in to comment.