You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appreciate the editable feature for the JSON values, it works like a charm. But I see there is some assignment operator missing issues.
Description:
In the JSON, if the key is a string without any special characters, the JSON value is modified and works as expected.
But if the JSON key is **-** example **install-mode**, the editable option fails with the following error:
Uncaught SyntaxError: Invalid left-hand side in assignment
at new Function ()
at S (vue-json-pretty.js?0c42:1:1)
Expected:
The editable option is successful when the JSON key has some special characters such as hyphen (-), underscore (_) etc..
Actual:
The editable option doesn't work if the key has a hyphen/underscore.
The text was updated successfully, but these errors were encountered:
I appreciate the editable feature for the JSON values, it works like a charm. But I see there is some assignment operator missing issues.
Description:
In the JSON, if the key is a string without any special characters, the JSON value is modified and works as expected.
But if the JSON key is
**-**
example**install-mode**
, the editable option fails with the following error:Uncaught SyntaxError: Invalid left-hand side in assignment
at new Function ()
at S (vue-json-pretty.js?0c42:1:1)
Expected:
The editable option is successful when the JSON key has some special characters such as hyphen (-), underscore (_) etc..
Actual:
The editable option doesn't work if the key has a hyphen/underscore.
The text was updated successfully, but these errors were encountered: