Working with Date picker

Manickam, Suraj 260 Reputation points
2024-05-13T10:28:40.7833333+00:00

Currently I am using the default date picker provided by MAUI , if i have to a select the year 2025 or 26 , I have to keep pressing the right arrow to get to the year or month which can be time consuming if the years are far ! instead of tapping on the arrow , tapping on the year should let me pick year from the list of years and tapping on the month should let me pick month from the list of months, is there a way to achieve this ? or should I allow users to enter the date manually?

Version : MAUI 8

Platform : Android

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
    2024-05-14T02:00:01.9766667+00:00

    Hello,

    I have to keep pressing the right arrow to get to the year or month which can be time consuming if the years are far ! instead of tapping on the arrow , tapping on the year should let me pick year from the list of years and tapping on the month should let me pick month from the list of months, is there a way to achieve this ?

    If you want to change the Year quickly, no need to the pressing the right/left arrow. Just click the Year tab.

    User's image

    then you can choose years, click the specific year, then you will back the previous page to select specific date.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful