Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Angular UI Bootstrap DatePicker Popup #46

Closed
crazyjat opened this issue Mar 21, 2017 · 2 comments
Closed

Compatibility with Angular UI Bootstrap DatePicker Popup #46

crazyjat opened this issue Mar 21, 2017 · 2 comments

Comments

@crazyjat
Copy link

crazyjat commented Mar 21, 2017

I need to be able to use your directive along with the angular ui bootstrap (https://angular-ui.github.io) DatePicker Popup. When I try, i get the following error:

dateparser: baseDate is not a valid date

(anonymous) @ angular.js:13920
parse @ ui-bootstrap-tpls.js:1239
parseDateString @ ui-bootstrap-tpls.js:3015
parseDate @ ui-bootstrap-tpls.js:3042
$$parseAndValidate @ angular.js:27647
$commitViewValue @ angular.js:27637
(anonymous) @ angular.js:27780
$eval @ angular.js:17682
$apply @ angular.js:17782
$$debounceViewValueCommit @ angular.js:27779
$setViewValue @ angular.js:27751
(anonymous) @ datetime.js:419
defaultHandlerWrapper @ angular.js:3497
eventHandler @ angular.js:3485

Plunkr: https://plnkr.co/edit/Wg0kshnbFcMgZ5uKWiFt

@eight04
Copy link
Owner

eight04 commented Mar 22, 2017

https://plnkr.co/edit/7FsQbGTnAFxwD7cRBLK7?p=preview
This could be fixed by increasing the priority of datetime-input. Perhaps I can finish it in the next week.

@eight04 eight04 mentioned this issue Mar 26, 2017
@eight04
Copy link
Owner

eight04 commented Mar 26, 2017

Here is the fix:
https://github.com/eight04/angular-datetime/tree/dev-prior

I have forked your plunker with it:
https://plnkr.co/edit/4e6rkregI4zJ3hjywAno?p=preview

If there is no other problem, I will merge it these days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants