Open Jagpreet16 opened 7 years ago
This is due to the fact the library doesn't use the ControlValueAccessor. I plan on forking and updating this as it seems development for this repo may be dead.
What you can do is wrap it with a component that implments ControlValueAccessor to have it work properly with NgModel and all the Angular/Form stuff.
https://blog.thoughtram.io/angular/2016/07/27/custom-form-controls-in-angular-2.html
This post has a really detailed example of what needs to be done.
Hope all is well, C Layton
Someone can watch this please ? https://stackoverflow.com/questions/50947642/angular-material-6-datepicker-reactive-form
Please help me on below. I am using material-datepicker with reactive forms.