retejs / rete

JavaScript framework for visual programming
https://retejs.org
MIT License
10.17k stars 653 forks source link

Value is lost from out to inp. Getting undefined. #574

Closed dzm-brimit closed 2 years ago

dzm-brimit commented 2 years ago

@Ni55aN Hello and thanks for the awesome framework! image

Example

There are a component with a checkbox and a component for displaying the result. When switching the checkbox, I write the value 1 or 0 to the output. But at the input to the Result component, I get an undefined.

With Number component on Result shows the number as expected.

Control Vue image

Control JS image

Component image

dzm-brimit commented 2 years ago

solution - worker(node, inputs, outputs) , not worker(node, outputs) in button components