Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
Closed
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
* fix(datepickerPopup): use value instead of viewValue
  • Loading branch information
dirk committed Jun 14, 2016
commit 41afeef1255df383a3022f24312298ad78b7dc2c
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