Giter VIP home page Giter VIP logo

Comments (3)

krystalcampioni avatar krystalcampioni commented on June 4, 2024 1

@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.

krystalcampioni avatar krystalcampioni commented on June 4, 2024

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.

nkoterba avatar nkoterba commented on June 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.