ionic-team / ionic-team/ionic-framework

feat: datetime wheel picker type to enter month, day, and year

Đang mở
#25,723 0 bình luận 5 reaction 0 người được giao Xem trên GitHub
package: core type: feature request
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

If you tap on on the month, day or year of a [preferWheel] ion-datepicker component you should be able to bring up the keyboard and type in text. This allows quick, validated entry of a year (for example). For power users, this is a very important feature to be able to input dates fast.

Android spinner date picker. If you tap on the text/numbers, you can type in the value.
![image](https://user-images.githubusercontent.com/7528322/183076768-36cd01ee-5ace-4716-a814-918ddf9eb4ea.png)

### Describe the Use Case

- For casual users, the spinner date picker is easy to use
- For more serious business apps, lots of dates need inputted.
- The preferWheel picker should allow the user the option of tapping on part of a date, and typing it in using the keyboard

### Describe Preferred Solution

Emulate Android spinner picker functionality.

### Describe Alternatives

- I've considered making a custom date picker component but I think I would lose out on the advantages that the main ion-datepicker component brings.
- I've considered using a native date picker plugin but I think a cross-platform solution is ideal since this is an enhancement that would make the ion-datepicker strictly better.

### Related Code

_No response_

### Additional Information

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.