I added a 'change' Event Handler which invokes simple console.log to JSONEditor.
But the 'change' Event Handler seems not to be executed when I edit the content of JSONEditor.
Is it a known issue? When to be fixed?
- Screenshots:
I added a 'change' Event Handler which invokes simple console.log to JSONEditor.
But the 'change' Event Handler seems not to be executed when I edit the content of JSONEditor.
Is it a known issue? When to be fixed?
I think I've figured out that it is not executed when the edited content is failed from JSON.parse.
I don't think JSON.parse validation is related to 'change' event... Someone please takes this.
Hi @jhlim Thanks for reaching out!
Unfortunately, we have a bug where the change handler only triggers if the entered JSON passes the component's validation logic This is in our queue to be fixed, but I don't have a timeline yet.
In the meantime, you may be able to create a custom React component with the functionality that you're looking for