You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a date is initialized by using ngModel to let's say 14/05/2019, and the disableUntil is set to 01/01/2020, the date will not be shown. In the previous version of the datepicker (mydatepicker), the date would still be shown.
The previous approach seemed to me to be better in user experience. As it is now, it doesn't seem like a value was initialized.
Thanks.
The text was updated successfully, but these errors were encountered:
STheFox
changed the title
When disableUntil is set after the ngModel, the date will not show
When disableUntil date is higher than the ngModel date, the date will not show
Mar 31, 2020
Hi,
When a date is initialized by using ngModel to let's say 14/05/2019, and the disableUntil is set to 01/01/2020, the date will not be shown. In the previous version of the datepicker (mydatepicker), the date would still be shown.
I created a stackblitz where you can simulate the issue. https://stackblitz.com/edit/angular-9-1-0-angular-mydatepicker
The previous approach seemed to me to be better in user experience. As it is now, it doesn't seem like a value was initialized.
Thanks.
The text was updated successfully, but these errors were encountered: