mirror of
https://github.com/The-Low-Code-Foundation/OpenNoodl.git
synced 2026-01-11 06:42:57 +01:00
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:
committed by
Richard Osborne
parent
e039d30320
commit
297022e19b
@@ -2,6 +2,8 @@ const StringFormatDefinition = {
|
|||||||
name: 'String Format',
|
name: 'String Format',
|
||||||
docs: 'https://docs.noodl.net/nodes/string-manipulation/string-format',
|
docs: 'https://docs.noodl.net/nodes/string-manipulation/string-format',
|
||||||
category: 'String Manipulation',
|
category: 'String Manipulation',
|
||||||
|
usePortAsLabel: 'format',
|
||||||
|
portLabelTruncationMode: 'length',
|
||||||
initialize() {
|
initialize() {
|
||||||
const internal = this._internal;
|
const internal = this._internal;
|
||||||
internal.format = '';
|
internal.format = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user