-
Notifications
You must be signed in to change notification settings - Fork 200
undefined is not an object (evaluating 'r[0].toUpperCase') #271
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
Comments
Happens to me as well, if I downgrade (npm i [email protected]) it works. |
Hi @nachodeh, @patrickrbc , Thank you for this return and thank you for using our package. The only endroid in the code where we use a similar expression to your code is the ucFirst
We have production applications too, but we don’t have this problem. I just made a small change. I hope this will solve your problem. |
@nachodeh, @patrickrbc I have just released version 1.7.1. Please update and retest to see if you still have this problem. |
Thanks for the prompt update. It's a very weird one. I think some other dependency in my code may be causing it. For now I switched to a different date picker but will test with the updated version ASAP and get back to you |
You're welcome. I will wait for your answer. Feel free to add feedback, if you have any other concerns. |
@onesine Just checked with the latest version and the issue is resolved. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
This is happening consistently on Safari (iOS or Mac OS) when using a basic DatePicker with the default config (null starting date value)
The error is thrown here:
react-tailwindcss-datepicker/src/helpers/index.ts
Line 19 in b4234be
Doesn't happen on other OSs
The text was updated successfully, but these errors were encountered: