material-components / material-components/material-components-android

[MaterialDatePicker] Support different calendar input modes

Open
#2,774 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Widget: DatePicker
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
The current MaterialDatePicker forces you to select day, month, and year and is not customizable so that a user can only select day and month or month and year.

**Describe the solution you'd like**
Support different input modes where a user can select just day and month or month and year.

**Describe alternatives you've considered**
We needed to build our own custom Month/Year picker that uses DialogFragment. But we'd prefer not to build custom views for things like this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names MaterialDatePicker as the entry point; start by locating its current date-input behavior and how the picker is configured. Define how day/month and month/year modes should be selected and what each mode permits, then add coverage for both requested modes. Done means users can choose either mode without building a custom picker.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.