Closed Nuwananj closed 9 months ago
Hello,
Sorry, but this repo is for reporting bugs only. I suggest you use StackOverflow if you need help with custom code.
Just as a quick example (can't help you with that), here I set the value of two hidden fields when a range is selected: https://github.com/wp-hotelier/wp-hotelier/blob/main/assets/js/frontend/hotelier-init-datepicker.js#L96
In my case, there are two input fields as below,
need to assign selected Check-in date to "formattedCheckin" value and Check_out date to "formattedCheckout" value, how to do that.