We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e41a027 commit ceb111bCopy full SHA for ceb111b
src/angular-json-editor.js
@@ -84,7 +84,7 @@ angular.module('angular-json-editor', []).constant('JsonEditorConfig', {
84
editor.on('change', function () {
85
// Fire the onChange callback
86
if (typeof scope.onChange === 'function') {
87
- scope.onChange();
+ scope.onChange(editor.getValue());
88
}
89
scope.$apply(function () {
90
scope.isValid = (editor.validate().length === 0);
0 commit comments