diff --git a/src/app/shared/nodes/generic-node/generic-node.html b/src/app/shared/nodes/generic-node/generic-node.html index 4ba1a31..2e61ea5 100644 --- a/src/app/shared/nodes/generic-node/generic-node.html +++ b/src/app/shared/nodes/generic-node/generic-node.html @@ -581,11 +581,14 @@
@if (localEditorUseInput) {
@@ -594,6 +597,29 @@ }
} + + + @if (localEditorFromGlobal) { +
+ + + @if (!localEditorGlobalInputs.length) { +
This flow declares no global inputs yet. Add one to the flow to use it here.
+ } +
+ }
@@ -660,6 +686,10 @@ } @else if (localEditorDefaultHint(); as hint) { {{ hint }} } + + @if (localEditorTip) { + {{ localEditorTip }} + }
diff --git a/src/app/shared/nodes/generic-node/generic-node.spec.ts b/src/app/shared/nodes/generic-node/generic-node.spec.ts index 6e310d6..3318cd5 100644 --- a/src/app/shared/nodes/generic-node/generic-node.spec.ts +++ b/src/app/shared/nodes/generic-node/generic-node.spec.ts @@ -505,6 +505,185 @@ describe('GenericNodeComponent', () => { }); }); + describe('taking a field from a global input', () => { + /** + * The third Source choice. It exists because on a provider with a closed model list the field + * is a