We set date range with a min date and max date( ex: 26/04/1953 - 26/04/2007)
If we don't set a value , the calendar doesn't display correctly
We attach a example with Stackblitz
We have the probleme wtih version 11.6.0 but it exactly the same with version 12.0.0 in Stackblitz
1 Answer, 1 is accepted
0
Yanmario
Telerik team
answered on 01 May 2023, 06:38 AM
Hi Eric,
An answer has been given by our support team within the private thread that was initiated for the same question. I will provide a copy of the answer here for public knowledge and do feel free to choose one thread to continue the conversation if needed.
This is caused by the configuration of the component and that the min and max are being set, but the component doesn't have a specified value (ngModel in this case).
When the value (ngModel) property is left empty, by default the current date is highlighted when the popup is opened. Since the min and max dates don't match the current date, such a view is expected to appear.
In these lines of words, please try setting an initial date to the DatePicker when min and max are specified.