feat(runtime): Add default label to String Format node (#49)

Update the String Format node default label to show the format, like how the other nodes work.
This commit is contained in:
Eric Tuvesson
2024-07-04 15:54:20 +02:00
committed by GitHub
parent dda22e0de6
commit 57e5246022

View File

@@ -2,6 +2,8 @@ const StringFormatDefinition = {
name: 'String Format',
docs: 'https://docs.noodl.net/nodes/string-manipulation/string-format',
category: 'String Manipulation',
usePortAsLabel: 'format',
portLabelTruncationMode: 'length',
initialize() {
const internal = this._internal;
internal.format = '';