diff --git a/plugins/c9.ide.ui/forms.js b/plugins/c9.ide.ui/forms.js index 31171f9d..7399ad53 100644 --- a/plugins/c9.ide.ui/forms.js +++ b/plugins/c9.ide.ui/forms.js @@ -309,7 +309,11 @@ define(function(require, exports, module) { value: options.path ? createBind(options.path) : (options.defaultValue || ""), - realtime: typeof options.realtime !== "undefined" ? options.realtime : 1 + realtime: typeof options.realtime !== "undefined" ? options.realtime : 1, + onafterchange: function(e) { + if (options.onchange) + options.onchange({ value: e.value }); + }, }) ]; break;