Custom Component - Type Error

If one attempts to edit the code before connecting the input of the component the TypeError is placed in the code and does not go away if the component is subsequently linked.

Advice: link component first :slight_smile:

Ideally: remove TypeError when the error cause is removed

image

Hi @JulianSMoore,
Thanks for highlighting this! :slight_smile:

We’ll see if we can remove the TypeError after the fact, but it becomes a bit trickier as soon as someone has updated the custom code, as we then run the risk of changing something we are not supposed to.

Yes @robertl, I could see that challenge coming :slight_smile:

Maybe the quickest, lowest risk approach would be to disable editing of custom code until a component has been connected.

That’s a good point, I’ll bring the feedback back to the team :slight_smile: :pray: