mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Allow a node to declare what settings should be made available to the editor. (#1185)
* Implement register/exportNodeSettings. * Change normaliseRegisterTypeName to normaliseNodeTypeName. Force it to name in a camel case.
This commit is contained in:
committed by
Nick O'Leary
parent
fca77a868f
commit
34089aec70
@@ -216,14 +216,6 @@ module.exports = function(RED) {
|
||||
credentials: {
|
||||
user: {type:"text"},
|
||||
password: {type: "password"}
|
||||
},
|
||||
settings: {
|
||||
httpRequestColour: {
|
||||
value: "red",
|
||||
// validate: function(v) { return IT MUST BE A NUMBER },
|
||||
// required: false,
|
||||
exportable: true
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user