Skip to content

[Proposal] CupertinoDatePicker with month and year. #93508

Description

@bryanhinkson

Use case

Looking at the cupertino date picker flutter/packages/flutter/lib/src/cupertino/date_picker.dart there isn't a way to have just a month and a year like so:
image

Proposal

I propose adding a new CupertinoDatePickerMode to support having just a year and a month.

Activity

  1. changed the title [-]Cupertino date_picker[/-] [+][Proposal] CupertinoDatePicker with month and date.[/+] on Nov 12, 2021
  2. added
    p: cupertino_uicupertino_ui package in flutter/packages
    c: proposalA detailed proposal for a change to Flutter
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    and removed
    in triagePresently being triaged by the triage team
    on Nov 12, 2021
  3. changed the title [-][Proposal] CupertinoDatePicker with month and date.[/-] [+][Proposal] CupertinoDatePicker with month and year.[/+] on Nov 12, 2021
  4. rahulraj-idt commented on Feb 15, 2022

    @rahulraj-idt

    Thanks Bryan for reporting this. This is extremely useful for the cases like picking the expiry date of a credit card.

  5. mvolkmann commented on Feb 15, 2022

    @mvolkmann

    I would also like a new CupertinoDatePickerMode to support having just a month and day (excluding year). This is useful for entering a date for an event that occurs every year such as a birthday, anniversary, or Christmas where the year is not needed.

  6. j-j-gajjar commented on Jul 30, 2022

    @j-j-gajjar

    +1
    any updates ?

  7. ngodings commented on Dec 21, 2022

    @ngodings

    any updates?

  8. N1colasVega commented on Feb 7, 2023

    @N1colasVega

    any updates?

  9. rizkiiansyah commented on Apr 14, 2023

    @rizkiiansyah

    any updates?

  10. inteist commented on Jul 16, 2023

    @inteist

    +1
    both variants would be very useful to have

  11. MitchellGoodwin commented on Jul 26, 2023

    @MitchellGoodwin
    Contributor

    Closing as completed as a part of #125603.

  12. github-actions commented on Aug 9, 2023

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  13. locked as resolved and limited conversation to collaborators on Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: date/time pickerDate or time picker widgetsframeworkflutter/packages/flutter repository. See also f: labels.p: cupertino_uicupertino_ui package in flutter/packagesteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions