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
Describe the Bug
When 2 or more ion-datetime elements are included within the same ion-input the selected date is always populated to the last included item.
Steps to Reproduce
Steps to reproduce the behavior:
Create a new Ionic project
In the app.html create an ion-list -> ion-item and inside 2x ion-datetime
Start the app via ionic serve
Select the 1st date chooser and choose a date
the selected date actually appears in the 2nd ion-datetime element
The button that pop-ups up the date picker is set to absolute location (0, 0) and size (100%, 100%) so if you do inspect element on that row, the whole row is actually covered by the second datetime's button - button.datetime-cover
Check this comment out. Unfortunately I tried the same workaround as suggested there, but the button area becomes too small.
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 Info
Run
ionic info
from a terminal/cmd prompt and paste the output below.Describe the Bug
When 2 or more ion-datetime elements are included within the same ion-input the selected date is always populated to the last included item.
Steps to Reproduce
Steps to reproduce the behavior:
Related Code
Expected Behavior
The selected date picker value should appear in the correct datetime element.
The text was updated successfully, but these errors were encountered: