feat: add support for wheel picker in ion-datetime
See original GitHub issuePrequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:11
- Comments:23 (8 by maintainers)
Top Results From Across the Web
ion-datetime - Ionic Framework
Datetimes present a picker interface to select dates and times. Ionic's API Datetime input component easily displays a preferred format, and manages values....
Read more >Sean Perkins (@seanfperkins) / Twitter
Ionic currently has a component that resembles the date picker. ... feat: Dot indicator for individual calendar day in Datetime · Issue #25832 ......
Read more >Date picker popup in Ionic 6 | Damir's Corner
To make the ion-datetime component appear in a popup, place it inside the ion-popover component. To display the selected date on the page,...
Read more >Ionic 5 Date and Time Input Sample App - Appery.io
Sample app demonstrating Date and Time Input in Ionic 5. ... Useful link for tracking browser support: http://caniuse.com/#feat=input-datetime ...
Read more >[Ionic Angular] v6で新しくなったion-datetimeについて考える
現在、dateを指定するためにはPickerしか使えないのですが、Wheelを復活させる動きがあります。 feat: add support for wheel picker in ion-datetime · ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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
ion-picker
so developers using wheels in non-datetime contexts can take advantage of its improvements.This was released as part of Ionic 6.2.0 earlier today: https://ionicframework.com/docs/api/datetime#wheel-style-pickers