Crash when using dynamic value.

When editing a state variable, if I click to use a dynamic value, the page crashes to a white screen with an error. See screenshot. :beetle: ?

This seems to happen only when trying to edit the variable values. When editing by clicking configure state variable first, it works fine.

There are a few ways to reproduce it, here’s one:

Here’s another way:

Hey Andrei! Thanks for reporting it.
I’m working on a fix

Finally, here’s another way:

Hi Samuel, checking in to see if this has been resolved. Were you able to deploy a fix for this issue?

Hey Andrei! This should be fixed now

Thanks, did you deploy the fix just now or a while back?

I am asking because I encountered this issue again earlier today.

To clarify, the same error is shown, but under other circumstances (I think).