Kreya icon indicating copy to clipboard operation
Kreya copied to clipboard

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

Open AFract opened this issue 10 months ago • 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 !

AFract avatar Apr 11 '24 13:04 AFract

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

CommonGuy avatar Apr 12 '24 11:04 CommonGuy