Invalid Module Input Causes Crash

Managed to break Retool earlier and it completely locked me out of the module.

Replication Procedure:

Create a Module input “test_input” of type Number
Click on the module container to set test values.
Click on the box for “test_input” and enter anything other than a number

System immediately crashes and you will need to use the History to restore it

Hi @Ross_Coombes thanks for flagging! Taking a look and I’m not able to reproduce this behavior with a new module (created a Number module input and set the test value to a non-number but nothing crashed); are you able to reproduce this behavior on a new module?

Darn! No, you’re right, it doesn’t do it on a new module.

I replicated the module where the error initially happened and was able to make it do it a second time so it’s reproducible, but not sure what’s special about my module that enables it in the first place. I have exported the JSON if you want me to send it somewhere

Hi yes, that would be great! Could you attach the JSON export of the broken module in the thread and I can take a look?

Sorry, just saw your reply, don’t seem to have the version any more where I could open the module, change the module input and reliably break it. Sure I saved it but maybe the process of exporting and importing it, fixes it.

So, here is the JSON for the already broken one.

v4 Question Survey - copy.json (70.0 KB)