mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Limit number of ports in function node
This commit is contained in:
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
Block a user