Component: Calendar - Update type for minDate and maxDate #15038
Labels
Resolution: Stale
Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Describe the bug
According to the documentation, the default value for the minDate and maxDate is Null
However, the setters for them accept only the Date format.
Is it possible to update the setters to accept Nullable?
I have a situation when in some cases I don't need to have the minDate in my calendar.
A possible workaround is to use unknown
,
Environment
Windows 10
Reproducer
No response
Angular version
16.2.8
PrimeNG version
16.5.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.19.1
Browser(s)
Chrome
Steps to reproduce the behavior
No response
Expected behavior
I will be able just to assign null to the variable, without using unknown.
The text was updated successfully, but these errors were encountered: