Comments (8)
@JefteCaro I'm still getting the same error in production builds. Using version 1.4.1. (dayjs v1.11.6)
Edit: I get it when the code hits the loadLanguageModule function, rather than the isBetween function.
from react-tailwindcss-datepicker.
I got this also. I think it is due to dayjs in production build uses require(cjs) instead of import(mjs).
@onesine help us solve this issue
from react-tailwindcss-datepicker.
I used requirejs package also via cdn. But i got other issues.
from react-tailwindcss-datepicker.
@srini-leanfolks I moved the package out of node modules and fixed this part for myself.
in index.esm.js you can replace require to import isBetween from 'dayjs/plugin/isBetween
(on line 940)
and i commented switch case (on line 150)
Waiting for when will be fixed this part. :)
from react-tailwindcss-datepicker.
@srini-leanfolks how it gets updated in npmjs.com ?
from react-tailwindcss-datepicker.
@srini-leanfolks how it gets updated in npmjs.com ?
Sorry I didn't get you
from react-tailwindcss-datepicker.
Fix in v1.4.1
Closing this issue
from react-tailwindcss-datepicker.
@gelmio facing the same issue with loadLanguageModule.
from react-tailwindcss-datepicker.
Related Issues (20)
- Editing value manually doesn't update widget if done at the start
- Missing comma in demo code
- Calendar not showing previous month when using different dayjs.locale()
- id attribute not passed on to underlying input
- custom classnames
- Feature Request: Can you add a time range, e.q. 08:00 - 14:00
- Masks
- Read-only mode not working
- State of the project HOT 1
- Modal is not adjusting according to height HOT 2
- Pop up is displayed below another component despite a higher z Index container
- Weird date selection behaviour in react tailwindcss datepicker
- Add shortcutClassName property HOT 1
- Hide/show year feature
- Selected date background is not showing. HOT 1
- fix for inside of accordion
- DatePicker won't reset on reset button press within an html form
- Support typical input field aspects such as tabIndex
- Add support for date localization
- Installation Instructions typo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-tailwindcss-datepicker.