Skip to content

Add inputFormatters option in DatePickerDialog and InputDatePickerFormField #115151

@Pana-g

Description

@Pana-g

Use case

When using DatePickerDialog or InputDatePickerFormField in some Android devices(E.g. Samsung) slash symbol(/) is not available for TextInputType.datetime, therefore the only way to use DatePickerEntryMode.input mode is to use a different keyboardType which makes it less efficient.

Proposal

Add inputFormatters option which will allow developers to use something like mask_text_input_formatter to autocomplete slashes and improve the overall usability of the DatePickerEntryMode.input and DatePickerEntryMode.inputOnly modes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterf: date/time pickerDate or time picker widgetsf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.has partial patchThere is a PR awaiting someone to take it across the finish lineteam-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