kekeh / angular-mydatepicker

Angular datepicker and date range picker :date:
https://kekeh.github.io/angular-mydatepicker/
MIT License
1 stars 11 forks source link

Styling in Angular Material #21

Open kzjkd6 opened 4 years ago

kzjkd6 commented 4 years ago

Hi, I've been using and enjoying your angular-mydatepicker implementation, however when I try and incorporate it into a site that also uses angular-material (https://material.angular.io/) I have a problem.

The date-range flavour renders properly when in a \<mat-form-field> but once a new date range selection has been made, the parent mat-form-field believes it is in an invalid state and highlights everything red.

If possible, it would be great to have these directives work nicely within angular-material.

Cheers!

kzjkd6 commented 4 years ago

Currently using "@angular/material": "^8.2.1",

STheFox commented 4 years ago

@kzjkd6 Can you provide a very simple stackblitz to reproduce the issue? Then the author of this package can easily debug.