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

Commit

Permalink
fix(datepickerPopup): use value instead of viewValue
Browse files Browse the repository at this point in the history
Closes #6007
  • Loading branch information
dirk authored and wesleycho committed Jun 14, 2016
1 parent d6fe9c7 commit 7e320e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datepickerPopup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ function($scope, $element, $attrs, $compile, $log, $parse, $window, $document, $
}

if (angular.isString(value)) {
return !isNaN(parseDateString(viewValue));
return !isNaN(parseDateString(value));
}

return false;
Expand Down

0 comments on commit 7e320e0

Please sign in to comment.