Unable to set some JSON values into the JSONeditor (by ace) in a web application built in Vuejs.
This is the editor, where the JSON need to be set.
I'm trying to change the value of the editor using Javascript. When tried on the console, it is showing as the value got changed, but in the JSON editor, the value hasn't changed.
Browser used - Chrome Web driver
>document.getElementById('vJSONValue').value = '[{"label":56}]'
<'[{"label":56}]'
>document.getElementById('vJSONValue').value
<'[{"label":56}]'
Also tried this solution, but didn't succeed
How can the editor be updated? Any help will be highly appreciated.