-
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: datetime, typing 20:00 selects 02:00 #28877
Open
3 tasks done
Labels
Comments
liamdebeasi
changed the title
bug: Using keyboard in ion-datetime component to change time does not work for times after 20:00
bug: datetime, typing 20:00 selected 02:00
Jan 26, 2024
liamdebeasi
changed the title
bug: datetime, typing 20:00 selected 02:00
bug: datetime, typing 20:00 selects 02:00
Jan 26, 2024
liamdebeasi
added
package: core
@ionic/core package
type: bug
a confirmed bug report
labels
Jan 26, 2024
@liamdebeasi any updates on this one? |
Hey there, I don't work for Ionic anymore, so I won't be much help in getting this issue resolved. |
Oh, I see. Thanks for the fast reply! |
vunizhona
added a commit
to vunizhona/ionic-framework
that referenced
this issue
Jan 22, 2025
- Adjusted the `selectMultiColumn` logic to handle keyboard values like 20 and 22 dynamically. - Introduced checks for the maximum column value to enable flexible input behavior. - Added e2e tests to verify correct value selection for both 12-hour and 24-hour formats. Closes ionic-team#28877
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
In the ion-datetime component, when typing 2000 in the keyboard the resulted time value is 0200
Examples: https://forum.ionicframework.com/t/ion-datetime-disable-opening-keyboard/224558/6?u=dennisskylegs
Expected Behavior
Expect when typing 2000 the result is 20:00.
Steps to Reproduce
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 7.2.0 (/Users/dennis/.nvm/versions/node/v21.5.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.6.5
@angular-devkit/build-angular : 15.2.10
@angular-devkit/schematics : 15.2.10
@angular/cli : 15.2.10
@ionic/angular-toolkit : 9.0.0
Capacitor:
Capacitor CLI : 4.8.1
@capacitor/android : 4.8.1
@capacitor/core : 4.8.1
@capacitor/ios : 4.8.1
Utility:
cordova-res : 0.15.4
native-run (update available: 2.0.0) : 1.7.4
System:
NodeJS : v21.5.0 (/Users/dennis/.nvm/versions/node/v21.5.0/bin/node)
npm : 10.2.4
OS : macOS Unknown
Additional Information
No response
The text was updated successfully, but these errors were encountered: