mirror of https://github.com/node-red/node-red.git
Limit number of ports in function node
parent
b0d9903fe2
commit
7507a7b459
|
@ -451,7 +451,8 @@
|
|||
tabs.activateTab("func-tab-body");
|
||||
|
||||
$( "#node-input-outputs" ).spinner({
|
||||
min:0,
|
||||
min: 0,
|
||||
max: 10,
|
||||
change: function(event, ui) {
|
||||
var value = this.value;
|
||||
if (!value.match(/^\d+$/)) { value = 1; }
|
||||
|
|
Loading…
Reference in New Issue