Comments (3)
@nkoterba I'll release v2.0.0 soon, and you'll be able to set the minNights to 0 if you want to allow checkIn and checkOut on the same day.
from vue-hotel-datepicker.
It's indeed an odd edge case 🤔 There are some checks on the code to prevent the user from selecting the same day for checkin and checkout. I'm currently working on v2 that will be a major rewrite of this component. I'll add this feature in the roadmap
from vue-hotel-datepicker.
Yes, we're using the component to pull up historical data and we'd like the ability to just pull a day's worth of data. We've worked around it by setting the max date to be tomorrow and telling users if they want to select a single day they select the day they want and then the "next" day.
It's certainly not the best UX solution, but it works without having to fork your code or do other hacky things.
But an option or setting to check-in/out on the same day would be much appreciated.
from vue-hotel-datepicker.
Related Issues (20)
- Max nights don't work HOT 3
- Half day documentation HOT 5
- Date Format on Mobile View
- Disable the touch event for changing months HOT 4
- Custom styling HOT 3
- Scroll gesture shifts months HOT 3
- Suggestion: Show week names on mobile/tablet HOT 6
- Smooth scroll on mobile HOT 1
- disabledDaysOfWeek / disabledWeekDays page freeze when clicking the first date HOT 3
- disabledDaysOfweek doesn't work HOT 3
- Help Welcome / Ayuda Bienvenida HOT 2
- Daterange working as a modal HOT 1
- Change green color for checkin/checkout and selected date range to other color. HOT 1
- Issue when closing calendar on mobile (v3.0.10) HOT 1
- Translation error after update HOT 1
- Disabled dates issue when using halfDay after upddate HOT 2
- When Bookings are present disabled Dates are not there or partially there. HOT 6
- In Vue 3 not support HOT 1
- Is there an option setting that allows me to set the time in half an hour? HOT 1
- vue-hotel-datepicker Not Working Properly in US Region when I use it with dayjs. HOT 6
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 vue-hotel-datepicker.