-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Setting ion-datetime value does not update selected day #25776
Comments
@aktivdigital-frontend thanks for reporting this issue. I am seeing the same behavior as well. The datetime has internal logic that requires the date be active & that we should highlight the day:
|
@aktivdigital-frontend Can you try the following dev build and let me know if it resolves the issue?
Note: You may need to install this in a local Ionic app. StackBlitz sometimes has issues installing dev builds of Ionic. |
Thanks for the issue. This has been resolved via #26070, and a fix will be available in an upcoming release of Ionic Framework. Feel free to continue testing the dev build and let me know if you run into any issues. |
Should this problem be fixed now? When I update the above StackBlitz to 6.3.2, I get the same issue... |
@liamdebeasi Highlight is OK, thanks, but the picker show the current month, not the set month. This issue is only partially finished. |
I'm experiencing the same issue. initially on 6.1.9 and again trying 6.3.6 |
Please open a new issue with a reproduction if you are experiencing an issue on a closed issue. The original reported issue with highlighting the active day when the value changes is working as expected in 6.3.6: https://stackblitz.com/edit/angular-qfjs5s The issue discussed by @aktivdigital-frontend appears to be a different problem, where |
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. |
Prerequisites
Ionic Framework Version
Current Behavior
When setting the value of an
ion-datetime
in asetTimeout
, the display date updates, but after opening the datetime, the selected day does not display.Expected Behavior
After setting the value of a
ion-datetime
, the selected day should also update.Steps to Reproduce
ion-datetime
(example usesion-datetime-button
)Code Reproduction URL
https://stackblitz.com/edit/angular-ramjpp?file=src%2Fapp%2Fexample.component.html,src%2Fapp%2Fexample.component.ts
Ionic Info
N/A
The text was updated successfully, but these errors were encountered: