<input type=date> check day when disabling today button
Before this patch, the "today" button in the popup date picker for <input type=date> will be disabled if today's month is outside the range of any valid month, but if today's particular day of the month is not within the valid range of days, the button will be enabled rather than being disabled. This patch checks the day of the month in addition to the month when deciding to enable or disable the "today" button. Bug: 1105813 Change-Id: I25fdc0a5656bcfe42920db0410b30037b942b2a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2302911 Commit-Queue: Joey Arhar <jarhar@chromium.org> Reviewed-by:Kent Tamura <tkent@chromium.org> Reviewed-by:
Ionel Popescu <iopopesc@microsoft.com> Cr-Commit-Position: refs/heads/master@{#793614}
Showing
Please register or sign in to comment