ionic-team / ionic-team/ionic-framework
feat: ion-datetime circular functionality
- Ngôn ngữ chính
- TypeScript
- Star
- 52.7k
- Fork
- 13.3k
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 51
Mô tả
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already include this feature request, without success.
### 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_
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by locating the ion-datetime component and its wheel-picker implementation. Review how minute values currently stop at 59, then determine the property and interaction behavior needed for circular scrolling, including the transition from 59 to 00. Done means the requested circular wheel behavior works without breaking normal datetime selection.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- frontend, mobile-dev
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100