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.
md-datepicker does not update model when using ng-model-options updateOn: 'blur' #9577
Closed
Description
Actual Behavior:
What is the issue? *
When using { updatedOn: 'blur' } with ng-model-options on the md-datepicker directive, the model never gets updated.What is the expected behavior?
Should update the model on blur.
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
http://codepen.io/anon/pen/vXNbwK?editors=1111Details:
You can see that when you select a new date from the calendar drop down, the model does not get updated
Angular Versions: *
Angular Version:
1.5.5Angular Material Version:
1.1.1
Additional Information:
Browser Type: *
Checked on Chrome, Firefox and IE11Browser Version: *
OS: *
WindowsStack Traces:
No errors
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.