Hello,
Welcome to our Microsoft Q&A platform!
because I cannot select the year it is only months selection
The year part of DatePicker
is clickable and support to select a number from the list. Click on the year number and the dialog will be shown. Please test the function on your side.
Best Regards,
Jarvan Zhang
If the response is helpful, 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.