ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
50.93k stars 13.51k forks source link

feat: ion-datetime circular functionality #26268

Open leocharrua opened 1 year ago

leocharrua commented 1 year ago

Prerequisites

Describe the Feature Request

Add property to ion-datetime control to allow use a "circular Wheel Style Pickers".
For example, in the "Minutes Wheel", after 59 show 00.

Describe the Use Case

Lets say I want to edit a time value of 12:59 to 1:00.

Because the ion-datetime component ends on 59 and doesn’t have the ability to be circular or return to 00 by scrolling down, a user must scroll all the way up to 00, this is a little time consuming and not what users are accustomed to when using mobile devices.

Describe Preferred Solution

Describe Alternatives

https://demo.mobiscroll.com/jquery/datetime/mobile-desktop-usage

Related Code

No response

Additional Information

No response

sean-perkins commented 1 year ago

Hello @leocharrua thank you for this feature request.

The team discussed this and agree Ionic should look to implement this UI/UX for the wheel picker of datetime.

fpladano commented 9 months ago

Are there any updates regarding the status of this feature? @liamdebeasi @sean-perkins

liamdebeasi commented 9 months ago

Hi there,

Please do not tag the team asking for updates on the feature. The team will post here whenever we have updates.

mikelhamer commented 4 months ago

I am building an app where users can select an amount of time. So like 1 hour, 45 minutes for example in a two column picker. I would love to have this circular functionality for that, but it doesn't quite fall under the datetime picker, as users aren't selecting a specific time. My point being, that it would be great if we could have this just as an attribute like [circular]="true on an ion-picker or ion-picker-column as well.

clowcher commented 3 months ago

Curious if there are any updates on this? Or if anyone has figured out any workarounds? This is one the biggest feedback items we get on our app from our users.

Thanks!