You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
Using the Ion Datetime component formatted to include am / pm with a min and max value set where both the min and max value are in the morning morning you will see both am and pm values.
Expected behavior:
When you have a min and max value set that is only in the morning or only in the afternoon you should only see the corresponding am / pm. Not both. The current behavior means that users can potentially pass in incorrect times.
Steps to reproduce:
Create a ion datetime component where both the min and max values are in the morning. You will see both AM and PM appearing.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic version:
[x] 5.x
Current behavior:
Using the Ion Datetime component formatted to include am / pm with a min and max value set where both the min and max value are in the morning morning you will see both am and pm values.
Expected behavior:
When you have a min and max value set that is only in the morning or only in the afternoon you should only see the corresponding am / pm. Not both. The current behavior means that users can potentially pass in incorrect times.
Steps to reproduce:
Create a ion datetime component where both the min and max values are in the morning. You will see both AM and PM appearing.
Screenshot
Related code:
Other information:
Ionic info:
The text was updated successfully, but these errors were encountered: