amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Single Input for date ranges in amp-date-picker

Open charlessyms opened this issue 7 years ago • 2 comments

Describe the new feature or change to an existing feature you'd like to see

It would be nice if we could use a single input for a date range so that we can output dates in booking forms, rather than having to use 2 boxes to show 2 different dates.

Describe alternatives you've considered

I've tried using Bind and Mustache to replicate the above with no success.

charlessyms avatar Oct 01 '19 22:10 charlessyms

https://amp.dev/documentation/examples/components/amp-date-picker/?format=websites#date-range-picker has an example on how to do this.

Please also use Slack (sign up here: https://bit.ly/amp-slack-signup) for questions regarding using AMP.

nainar avatar Oct 03 '19 06:10 nainar

I've read that list 50 times over. There is not a way to display both dates from a date range in the same box. Maybe I didn't word my feature request clearly enough.

charlessyms avatar Oct 03 '19 07:10 charlessyms