question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dynamic change inputs outputs properties

See original GitHub issue

I want to change the dynamic properties of inputs outputs i refer to this change my program to this:

inputs: function (){
    return 1;
}

but this has no effect,the node becomes no input, like the image below: 2019-02-03 12 45 19

I wonder if there are other ways?

Node-RED version:v0.19.5 node.js version:v8.11.1 npm version:6.0.0 Platform/OS:macOS Sierra 10.12.6 Browser:Google Chrome 72.0.3626.81 (64-bit)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dceejaycommented, Feb 2, 2019

As it happens it can be done… See the email node https://github.com/node-red/node-red-nodes/blob/master/social/email/61-email.html#L257 and around line 291 However - it is not fully supported yet and can render badly on workspace - but will be fixed/supported in the next version (0.20).

But yes - please use the forum for general how-to questions. Thanks

1reaction
hardillbcommented, Feb 2, 2019

Also as pointed out in the contribution guidelines (and the template you removed) please ask questions on Slack/Forum/Stack Overflow, issues are for code defect.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to dynamically set a components @Input at ...
Thankfully my IDE was able to tell me that : ComponentRef.instance has the following properties: inputs : string[]; outputs : string[]. However ...
Read more >
Chapter 10 Dynamic UI
In this chapter, you'll learn how to create dynamic user interfaces, changing the UI using code run in the server function. There are...
Read more >
Dynamical Structure and Spectral Properties of Input- ...
We associate a dynamical system with input-output networks and study its spectral properties. Specifically, we develop a dynamic production ...
Read more >
Dynamic Input and output - Designer
Hi, How to make the input source & output dest properties in dynamical way ? For instance, can we saved all input and...
Read more >
Dynamic inputs - AWS Elemental MediaLive
You can set up a multiple-input channel with static and dynamic file inputs. You can then use the input switching feature of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found