Comments (4)
@MasoumeAfshar This is the expected behavior. Imagine you want to select a day range for your payments, and you want to see only today's payments. How would you select that(with keeping the functionality for other ranges selection)?
from react-modern-calendar-datepicker.
This usage is less likely to occur, Why use Range in these circumstances, to see only today's payments!!
This is not good for booking and at least has the ability to set limits for the "to" date
from react-modern-calendar-datepicker.
@MasoumeAfshar This is actually quite popular! I used it many times in my projects. However, this date picker is quite customizable. You can easily control this behavior by checking value
in onChange
callback. Just make sure to
is not equal with from
, if it is, don't update the state and show an error for the user.
from react-modern-calendar-datepicker.
thx
from react-modern-calendar-datepicker.
Related Issues (20)
- Choice Active day(s) HOT 3
- Popup hiding inside the table HOT 1
- dates are wrong and no last day, even on your demo page
- ????? HOT 1
- some buttons css is not working HOT 1
- When do you release new update? HOT 2
- Trying Simple Implementation HOT 3
- Making the datepicker required
- Locale should accept Multiple language. For now it only accept 'fa' and 'en'
- Calendar should be support JS calendar Locale
- Calendar should be support JS calendar Locale
- Is there any way of calling a function on blur?? HOT 1
- Simple examples in typescript doesn't work HOT 4
- days outside at component Calandar? HOT 2
- Just pick month and year
- After selecting date range I got type error "Unhandled Runtime Error TypeError: Cannot read properties of null (reading 'removeEventListener')" HOT 16
- Navigate to Today HOT 2
- Angular version
- Nexjs some issue: typeError: Cannot read properties of null (reading 'removeEventListener') HOT 4
- error how to solve it
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-modern-calendar-datepicker.