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

How to pre populate check in/out values #244

Closed Merton closed 3 years ago

Merton commented 3 years ago

Description

If the parent or vuex store has a previously entered values for check in and checkout, and I want to display that in the inputs / selector display, is this possible? I was expecting there to be a prop for check in and checkout, then on update I can update the store / parent.

Cheers

matiasperrone commented 3 years ago

I don know if a understand, do you mean like the startingDateValue and endingDateValue?...

Merton commented 3 years ago

Yes absolutely I am being silly, thank you. I misunderstood that somehow..apologies! Really like the component 😄