Issues with multiple outputs in Function component
Hello,
I've noticed couple issues with the Function component when you choose multiple outputs.
Tested on a fresh install of Flow v5.1
1- All output connection links are visually removed once you change the output number.
2- If you don't specify an index in the send function, the component sends data to the first output rather than all outputs.
Thanks.
Hi @khaledkhalil94,
- yes https://github.com/totaljs/flowcomponents/blob/master/function/function.js#L54 because there is a problem with comparision. But yes, we can improve it...
- this depends on the data, which type of data are you sending?
String
Sorry for delay. I'm not author of this component, but I'll fix it today/tomorrow later. I have contacted author but unfortunately the author doesn't have any time for it.
I'll give you feedback.
I have fixed it. I'll think about:
All output connection links are visually removed once you change the output number.
Because it's a bit complicated to compare outputs but I'll add a support for it into the Flow core.
Hello, just wondering if there has been any updates to the links issue ?
Hi @khaledkhalil94, it's fixed. Please download the Flow from https://github.com/totaljs/flow and let me know. BTW: you need to update all components.