ZestfulNation / vue-hotel-datepicker

A VueJS v2 responsive date range picker. Displays the number of nights selected and allow several useful options like custom check-in/check-out rules, localization support and more.
https://zestfulnation.github.io/vue-hotel-datepicker/
MIT License
840 stars 220 forks source link

Why is the previous date blocked after selecting check-in? #201

Closed cr-lgl closed 4 years ago

cr-lgl commented 4 years ago

Description

Why is the previous date blocked after selecting check-in?

Personally, I don't think it's very good for the user experience.

After selecting check-in, if select the previous date, I want to re-selection the check-in.

Code sample

https://pkgtour.naver.com/

Initial value selection: Jun-05-2020 15-56-32

On re-selection: Jun-05-2020 16-00-55

Here, I simply implemented an example that meets my requirements.

I'd like to hear your opinion on this proposal.

[ v2.7.7 ]

matiasperrone commented 4 years ago

Do you have a PR?

cr-lgl commented 4 years ago

@matiasperrone No, not yet.

I found a small problem, fix it, and then I'll post it.

matiasperrone commented 4 years ago

Check v4.0.0-beta.2