Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Initial value is not applied from ng-model to widget value #53

Merged
merged 1 commit into from
Jul 16, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/factories/directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ angular.module('kendo.directives').factory('directiveFactory', ['widgetFactory',
// Update the widget with the view value.
widget.value(ngModel.$viewValue);
};

widget.value(ngModel.$viewValue);

// In order to be able to update the angular scope objects, we need to know when the change event is fired for a Kendo UI Widget.
widget.bind("change", function(e) {
Expand All @@ -96,4 +98,4 @@ angular.module('kendo.directives').factory('directiveFactory', ['widgetFactory',
create: create
};
}
]);
]);