md-datepicker red line appears under date when date set in code
If you have the 'required' attribute and an empty md-datepicker, and then set the date using code (rather than entering it directly into the form) the line under the date is red, indicating it is invalid when it is not. See codepen http://codepen.io/apilsworth/pen/VaXeJy
@apils This appears to be a duplicate of #6086. Can you please verify if it's the same or if it's different?
You're right. It is the same issue. Apologies, didn't spot that one.
@apils No worries! Closing this one as a duplicate.
Just in case anyone is looking for the answer. The solution is simple. Instead of required, just use ng-required, that's it.