ionic-team / ionic-team/ionic-framework

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

Aperta
#25,723 0 commenti 5 reazioni 0 assegnatari Vedi su GitHub
package: core type: feature request
Lingua principale
TypeScript
Stelle
52.7k
Fork
13.3k
Merge medio
1g 15h
PR unite (30g)
51

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.