h2qutc / angular-material-components

Angular Material Library provide extra components for every project
https://h2qutc.github.io/angular-material-components/
MIT License
331 stars 161 forks source link

min and max attributes are not working with angular 9 #32

Open VenkataPakalapati opened 4 years ago

VenkataPakalapati commented 4 years ago

with angular 9, min and max attributes are not working

was able to replicate this on the stackblitz link provided in the repo

https://stackblitz.com/edit/demo-ngx-mat-datetime-picker-angular9

VenkataPakalapati commented 4 years ago
Screen Shot 2020-04-19 at 10 14 12 PM
h2qutc commented 4 years ago

Hi, on stackblitz, I use the NgxMatMomentModule. I updated the method _setMinDate and _setMaxDate in order to use Moment and I see that the min max attibutes work as expected. Can you provide an example on stackblitz that produce the bug please ?

VenkataPakalapati commented 4 years ago

i cannot replicate anymore in the stackblitz link.

however when i imported NgxMatMomentModule i am getting these errors. I am using your library in conjunction with others which is likely causing these. I need to figure it out.

thanks for checking it out

module error