amphtml
amphtml copied to clipboard
[amp-date-picker] Set min/max attribute to specific date without amp-bind
Describe the new feature or change to an existing feature you'd like to see
Currently the only way to set the min or max attribute on amp-date-picker to limit date selection is via amp-bind. We should look at a solution where these attributes can be set dynamically, perhaps via a keyword like "TODAY".
Describe alternatives you've considered
The current alternative is to set this via amp-bind but this solution is not straightforward.
Additional context
See here: https://amphtml.slack.com/archives/C9HPA6HGB/p1605617650207200
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.