katafractari / ngx-combo-datepicker

Angular 4+ Combo Datepicker
https://katafractari.gitbooks.io/ngx-combo-datepicker/
MIT License
7 stars 8 forks source link

Reset day if day is greater than maxday #4

Closed sarath704 closed 6 years ago

sarath704 commented 6 years ago

Reset previously selected day if the day is greater than maxday of the month. Then form validation status will be invalid. Alternately we can assign max date of the month instead of resetting the date. However, if the user changes the year (Leap year) / month then the date will remain previous year's / months' maxdate.

katafractari commented 6 years ago

@sarath704 Both your PRs have been merged and released to NPM (version 0.0.5). Thanks for your contribution!