mirror of
https://github.com/HackPlan/angular-datepicker.git
synced 2026-01-12 22:44:06 +08:00
formatter added to $formatters instead of replacing, in order to work with required #3
This commit is contained in:
2
index.js
2
index.js
@@ -382,7 +382,7 @@
|
||||
return dateFilter(value, format);
|
||||
}
|
||||
|
||||
ngModel.$formatters = [formatter];
|
||||
ngModel.$formatters.push(formatter);
|
||||
|
||||
var picker = null;
|
||||
var clear = angular.noop;
|
||||
|
||||
2
index.min.js
vendored
2
index.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user