Skip to content

Multiple MAT_DATE_FORMATS parse options #14116

@nickwinger

Description

@nickwinger

Bug, feature request, or proposal:

feature request

What is the expected behavior?

Currently the Datepicker only supports one parse format.
I want to use multiple parse formats (e.g. Use the localized AND the Database-Format)

What is the current behavior?

Only one parse format is supported

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://goo.gl/wwnhMV

What is the use-case or motivation for changing an existing behavior?

The user wants to input with the localized DateFormat AND optional with a Database-Format (YYYYMMDD)

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

All newest Versions

Is there anything else we should know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussionfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions