-
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
feat: add support for wheel picker in ion-datetime #23981
Comments
This is something we are definitely interested in adding to Ionic. The current wheel picker in Ionic 5 has performance issues and is buggy. We did not have the resources to refactor the wheel picker and add the new calendar picker at the same time, so we chose to start with the calendar picker in Ionic 6. We should expose this new wheel picker functionality through |
Also our |
Looking forward to it. |
@liamdebeasi Hi, what is the current progress of this feature ? |
Hi, any news related to this feature? Having a wheel picker for day/month/year and not only month/year, year and time is needed in my project and I would like to know if we can count on this or need to find another way. Thanks! |
Wheel picker style is also important in our project. The UX of the picker feels more natural to users when entering things like Birth Date, ID Expirations, etc due to the ease of going back/forth many years. The new calendar works great when the date the customer select is near a known date (eg Today). But, for DOB type of things requires more cognitive load:
Thank you! |
Are you having trouble implementing your date of birth or expiration date? https://zenn.dev/rdlabo/articles/62f404d448df01#accordion---multi I hope it helps. |
@cperez87 We have received several users feedback regarding the date-time picker not working as the user didn't realize the need to click again on the month-year to go back to the date view and select date again to make it works. Several suggestions here.
|
Hi, any news related to this feature? I think the actual |
We are actively working on this feature. There is a list of PRs above your comment that show the progress of development on this feature. |
Thanks for the issue. This has been resolved via #25468, and the feature will be available in an upcoming minor release of Ionic. We do not have an estimate of when the next minor version of Ionic will be released. However, we are actively working on it. We will announce the minor release on our blog, Twitter, and GitHub release page |
Here is a video of the new wheel picker wheel-picker-demo.mp4 |
@liamdebeasi thanks for the effort. |
Using the wheel picker with This is by design. The date + time wheel picker is designed for selecting a specific time/date in the near future or past. A good use case is a reminders app that tells you when to leave to catch a train or a bus. Using the wheel picker to set a reminder for tomorrow at 10:30 is valuable and easier to do with the wheel picker than using the current grid interface. On the other hand, setting a reminder at a particular time 5 years from now is not very valuable as that time information will likely change over the course of 5 years. Native iOS also has this same behavior. |
Sgtm |
Hey @liamdebeasi any date update on the release of the feature? |
Given the limitations of the current implementation, we ended up using the Wheel Selector Plugin https://ionicframework.com/docs/native/wheel-selector |
This was released as part of Ionic 6.2.0 earlier today: https://ionicframework.com/docs/api/datetime#wheel-style-pickers |
Thank you @liamdebeasi |
Thank you @liamdebeasi ! |
Thanks for this @liamdebeasi |
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. |
Prequisites
Describe the Feature Request
Have the option to choose between the wheel and calendar with a
mode
prop.Describe the Use Case
Most apps that were using the old wheel mode didn't cater for calendar design and have to either squeeze the whole calendar into a tight space, open a modal, or a popover to display a calendar.
the upgrade might be tedious for some people (me...)
Describe Preferred Solution
Have a
mode
prop to switch between calendar and wheel<ion-calendar mode="wheel"></ion-calendar>
Describe Alternatives
No response
Related Code
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: