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

DatePicker to have additional expressions - modelValue and viewValue #9270

Closed
@manishbafna

Description

@manishbafna

Actual Behavior:

  • What is the issue? *Right now, the datepicker is using provider for evaluation. In case of the timezone and other details coming from server, it will be difficult to manipulate. (In some cases, the date is coming is epoch format, sometimes, MM-DD-YYYY) .
  • What is the expected behavior?: Have additional expressions for the directive.
    ModelValue -> Expression is evaluated and stored as model value
    ViewValue -> Expression is evaluated and shown in the UI.

CodePen (or steps to reproduce the issue): *

Angular Versions: *

  • Angular Version: 1.1.0 RC 5
  • Angular Material Version:

Additional Information:

  • Browser Type: * All
  • Browser Version: * All
  • OS: * All
  • Stack Traces:

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions