Comments (2)
Interesting idea. It might be possible to include a concept of minimum and maximum range sizes. This introduces a UI complication though, in that you potentially have states ranges which are too short for the minimum size, so you'd have to have some way of defining how they should appear in the calendar.
For your particular case, it might make sense to say that if both minimum and maximum are defined, you essentially switch to a single selection UI, that covers a range of dates, rather than just one. Might be tricky to make nice on touch devices though.
We definitely have our own uses cases for min/max ranges, so it's likely that'll be tackled at some point. But fixed blocks (1 month, 2 weeks, etc) are less immediately useful to us. Unless you have any thoughts on how the UI would work.
from react-daterange-picker.
Closing due to inactivity
from react-daterange-picker.
Related Issues (20)
- Select Y or M after init Picker HOT 1
- Displayed range presumes selecting dates from future rather than past
- Today cell highlight HOT 1
- Please update the following components: CalendarDate, CalendarMonth, DateRangePicker, PaginationArrow HOT 1
- Custom icon for Pagination HOT 1
- How to Close calendar on date selection?
- unavailable dates shows half days on the calendar
- How to select only single day ? HOT 1
- Update moment-range to latest version 4.0.2
- SelectionType='single' and DateRange value HOT 1
- How to clear a particular selected range?
- How to localize month labels
- dependency limited to react 16.x HOT 2
- on outside click of calendar POPUP should close
- hi.. I need to show half a day selection in my project - half a day morning/evening.
- hi.. I need to show half a day selection in my project - half a day morning/evening. On passing a date, its highlighting the date partially below. How to highlight the date partially above?
- half a day selection issue
- Closing modal to reset date selection
- [Mobile view] Scrolling date picker using touch behavior also selects date
- OnSelect didn't work with onSelectStart
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-daterange-picker.