angular-datepicker icon indicating copy to clipboard operation
angular-datepicker copied to clipboard

Does not work for Angular 1.4.7

Open varya opened this issue 9 years ago • 6 comments

varya avatar Nov 12 '15 12:11 varya

+1

timmyomahony avatar Nov 12 '15 16:11 timmyomahony

I don't have a problem when I switch the angular version to 1.4.7. Here is a plunkr where the library works with 1.4.7.

Does this plunkr work for you? Do you have any other information about the problem?

DanTalash avatar Nov 12 '15 21:11 DanTalash

The problem isn't that the library doesn't work - it's that it can't be installed using bower install --save angular-datepicker. The problem is that the old version of Angular is left in package.json. I've forked the repo and changed updated the Angular version to 1.4.7 and it works fine.

timmyomahony avatar Nov 12 '15 21:11 timmyomahony

This is essentially a duplicate of #196. Somebody needs to make a PR fixing the issue. Since you already forked it, you can go ahead and do so if you wish.

DanTalash avatar Nov 12 '15 21:11 DanTalash

add the following to your bower file:

"resolutions": { "angular": "~1.4.7" }

this tells bower to ignore what version the date-picker needs and just take that version of angular.

AdamHess avatar Mar 08 '16 16:03 AdamHess

Not working with AngularJS 1.5.7

vivex avatar Jun 29 '16 18:06 vivex