aboutsummaryrefslogtreecommitdiffstats
path: root/src/widgets.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets.js')
-rw-r--r--src/widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets.js b/src/widgets.js
index 42e608dd..254331c0 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -762,8 +762,8 @@ angularWidget('select', function(element){
}
}
if (isDefined(value) && model.get() !== value) {
- onChange(scope);
model.set(value);
+ onChange(scope);
}
scope.$root.$apply();
} finally {