amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Ability to selct blocked date as end date

Open Felixbachmann opened this issue 8 years ago • 6 comments

What's the issue?

In the travel industry, a guest specifies check-in and check-out days. We use the date picker for specifying the date range. We also block days in the calendar that are not available for booking (blocked attribute). This leads to someone not being able to select the end date (check-out) if the room is already booking for the next guest. Therefore, it should be possible to select a blocked date as end date, assuming no other blocked date is within date date range.

How do we reproduce the issue?

Here an example

image

Which AMP version is affected?

amp-date-picker-0.1.js

Felixbachmann avatar Sep 08 '18 16:09 Felixbachmann

Hi @Felixbachmann, thanks for making this request. Your use-case makes sense, and we should add this ability to the date picker.

cvializ avatar Sep 24 '18 16:09 cvializ

This issue hasn't been updated in awhile. @cvializ Do you have any updates?

ampprojectbot avatar Jan 09 '19 09:01 ampprojectbot

This is still an issue that prevents me for using the datepicker on our sites. Would be great if this feature could be implemented.

Felixbachmann avatar Jan 09 '19 12:01 Felixbachmann

Thanks for letting us know this is still an important issue for you. Some initial investigation has been done. I assessed the difficulty and learned that it wouldn't be a quick issue to solve, so work is still in progress.

cvializ avatar Jan 09 '19 15:01 cvializ

Just friendly ping. Is there any update on this?

Another travel partner is facing this issue. All the dates except within the next 11 months should be blocked. Is there any workaround for this use case?

xiaotong-kk9 avatar Apr 16 '19 06:04 xiaotong-kk9

No update yet, thanks for letting me know it's still blocking some folks. It's still prioritized to be fixed

cvializ avatar Apr 22 '19 18:04 cvializ