jsoneditor
jsoneditor copied to clipboard
No event is fired when changing values of boolean attributes by clicking on toggles
in that case onChange is fired but I think it could be fired the click event too. This could help in finding the path of change action.
I just tried change a boolean by clicking the checkbox, and it fires onChange
, onChangeJSON
, and onChangeText
. How can I reproduce your issue?
Yes what you said is right, what I meant was to consider to fire even the onEvent which is more useful in order to quickly find what attribute has been clicked because onEvent returns path, while other events return the whole string or json.
Ah, I understand what you mean.
Are you using the latest version of jsoneditor? This issue was addressed not long ago in v9.1.2
, see #1126