riok/Kreya

Unable to save "Data" section of environment if it contains errors

Opened this issue · 1 comments

Hello,

In 1.14 beta 2, I have noticed the button "Save" is greyed out if the JSON contains an error, but there's no user warning regarding this.

Some errors are not noticeable (no wavy red line under them), like the attempt of comment below but they prevent to click on Save :
image

An explicit warning (especially for longer jsons, as this one is extremely simple) would be better than simply locking the Save button.

Additionally, it would be nice if it was possible to type comments in this editor (and other json fragments editors).

Thank you !

Thanks for the report, we'll look into this.