Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Example of how to apply mask in md-datepicker #11014

@jefferson-william

Description

@jefferson-william

Actual Behavior:

  • What is the issue? Apply mask in md-datepicker.
  • What is the expected behavior? Date mask in md-datepicker input.

CodePen Demo

AngularJS Versions:

  • AngularJS Version: 1.6.x
  • AngularJS Material Version: 1.1.5

I needed to change some lines of the Date Picker directive to perfectly work the md-datepicker ng-model value. Here is the commit of my changes.

I needed to mask in md-datepicker on a project and solved it this way. I hope it helps someone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions