Join GitHub today
User can choose February 31 in ion-datetime #17510
In the ion-datetime user can choose dates that do not exist, for example, February 31. Only after selecting February, closing ion-datetime and clicking again on the ion-datetime, the number of days is updated to 28.
Dynamically update the number of days in ion-datetime.
Steps to reproduce:
Create ion-datetime. Select February. In days will be 29-31. Exit ion-datetime. Select ion-datetime again. Only now the number of days will update to 28.
referenced this issue
Feb 18, 2019
Thanks for the issue! I’ve added this to issue #16630 to keep track of. We’re going to close out the individual issues and address all of the Datetime issues at once. We’re not forgetting about your issue, just trying to keep them all together.
Thanks for using Ionic!