Open adityasule opened 1 year ago
this stems from the fact that default will be stringifyed uppon Object-creation and than on rendering get a .format()
applyed to it. This failes with json strings, as they contain curly brackets, which are interpreted for formating.
No reals solution to this right now
You might be able to escape the curly brackets by doubling them up as mentioned here. Alternatively, that response suggests using string.Template which might be a good alternative?
version:
2.10.0
When default value for editor is a json, the question cannot be rendered. Here is an example reproducing the error