1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Allow SUBFLOW UI label row without variable name

This commit is contained in:
Hiroyasu Nishiyama 2019-09-13 22:49:48 +09:00
parent 7c7be378bc
commit b42fff1055

View File

@ -1493,7 +1493,8 @@ RED.subflow = (function() {
var entry = $(this);
var item = entry.data('data');
var name = (item.parent?item.name:item.nameField.val()).trim();
if (name !== "") {
if ((name !== "") ||
(item.ui && (item.ui.type === "none"))) {
var valueInput = item.valueField;
var value = valueInput.typedInput("value");
var type = valueInput.typedInput("type");