ionic-team / ionic-team/ionic-framework

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

オープン
#25,723 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
package: core type: feature request
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

### 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_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。