-
Notifications
You must be signed in to change notification settings - Fork 2
Description
The original json-editor project this is based on - demo here. Allows for the updating the of the json output text area to update the fields in the form dynamically. In order to make this editor practical; opencontrol content previously generated by the editor should be able to be reimported and injected back into the form so users can make updates/additions.
the yaml2json.js and json2yaml.js assets are already available; there just needs to be some javascript added to trigger the existing watch function on the text area seen when generate button is clicked - with an update/import function that adds the additional step to convert the yaml back into json - which the editor is using in the background for both the form's structure (json schema) and the content in the DOM (json).