Open digitlimit opened 6 years ago
hi @digitlimit! currently the daterangepicker does require knockout.
thanks!
How can @digitlimit solve this problem? I've the same error to
first error
daterangepicker.min.js:8 Uncaught ReferenceError: ko is not defined at daterangepicker.min.js:8 at daterangepicker.min.js:8 (anonymous) @ daterangepicker.min.js:8 (anonymous) @ daterangepicker.min.js:8
Second error
daterangepicker.min.js:8 Uncaught TypeError: s is not a constructor at HTMLInputElement.<anonymous> (daterangepicker.min.js:8) at Function.each (jquery.min.js:2) at r.fn.init.each (jquery.min.js:2) at r.fn.init.$.fn.daterangepicker (daterangepicker.min.js:8) at visitor:727
i am facing similar issue.
Hi @hellodit, try adding https://github.com/knockout/knockout as a dependency.
I love this plugin. However I can't get it to work. I use Jquery. Must I include knockoutjs on the page? Hope not because I don't wish to have knockout included in my project. Kindly advise