mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
fix(radio): fix binding to value={{exp}}
This commit is contained in:
@@ -878,6 +878,7 @@ function watchElementProperty(modelScope, widget, name, element) {
|
||||
modelScope.$watch(match[1], function(scope, value){
|
||||
widget['$' + name] = isBoolean ? !!value : value;
|
||||
widget.$emit('$validate');
|
||||
widget.$render && widget.$render();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user