luisfarzati / ng-bs-daterangepicker

AngularJS directive for bootstrap-daterangepicker
http://luisfarzati.github.io/ng-bs-daterangepicker/
MIT License
246 stars 167 forks source link

loads but does not trigger #36

Open DaveC426913 opened 9 years ago

DaveC426913 commented 9 years ago

I've tried everything to get this working but it does not. Installed via bower install, included script src="public/lib/ng-bs-daterangepicker/dist/ng-bs-daterangepicker.min.js" in my header and input type="daterange" ng-model="myDateRange" format="MMM DD" separator="/" in my html but it does not get picked up. I load angular and bootstrap beforehand, and there's a dependency on bootstrap-daterangepicker.

The demo src/ng-bs-daterangepicker.html works if I point all the angular/bootstrap js and CSS references to their correct locations (which are several folders away).

No JS console errors, no grunt errors.

This has got to be a pathing issue, but for the life of me I can't find anything amiss.

What exactly is it that triggers the progressive enhancement of the input field?

Stumped.

lgt commented 9 years ago

I'm facing the same

claudia1204 commented 9 years ago

make sure you have :

angular.module('myApp', ['ngBootstrap']);

lgt commented 9 years ago

I have!

alanjames1987 commented 8 years ago

@lgt are you still having an issue with this? I know it has been a long time.

I have created a working example in the example folder. Hopefully that will help you.