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
Description
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): *
CodePen Demo which shows your issue:
http://codepen.io/anon/pen/zBrrvoDetails:
Angular Versions: *
Angular Version:
1.1.0 RC 5Angular Material Version:
Additional Information:
Browser Type: *
AllBrowser Version: *
AllOS: *
AllStack 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.