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
Giving error isValid undefined #306
Comments
Others issues are still there regarding this version. |
I agree, @BMK91. I'm seeing both issues, as well. |
I use this version (0.3.0) with a dynamic minDate and maxDate. Also, AFAIK, 'clearable' works just fine. There's a working example of it in Edit: actually, from your code snippet, you're converting your moment objects to a regular js date objects. Why are you using "toDate()" ? Don't do that and it should work. |
Getting the first issue here as well. Updated moment.js accordingly but in vain. Please suggest any ideas to try. |
Are you setting your startDate/endDate as moment objects? If it's a moment object then isValid is a method of the moment object... |
I solve it by change the normal javascript |
Remark: My English is a little weak, please don't mind.I solved the problem and rewrite it. angular-daterangepicker.js The above is my method. |
This fix worked for me |
Hi,
When setting pre-date values with min, max it gives error
Here is the screenshot of console debug.
Bower
The text was updated successfully, but these errors were encountered: