ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

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

Open BurkusCat opened this issue 1 year ago • 0 comments

Prerequisites

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

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

BurkusCat avatar Aug 05 '22 12:08 BurkusCat