forked from angular-ui/bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datepicker): datepicker-popup compatibility with ngModelOptions
- Separate validation from parsing so that validation still runs on model change - Remove direct calls to $render - Remove extra call to $render during intialization (only run when format is changed) - Save last date value in formatter - Remove use of ngModel.$modelValue as users may add parsers to convert $modelValue to other formats Relates to angular-ui#2069 Fixes angular-ui#3349
- Loading branch information
Showing
2 changed files
with
104 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters