Calendar: Invalid TypeScript definitions for modelValue #3400
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Currently
modelValue
in types for the calendar is defined with this type:type CalendarValueType = Date | Date[] | undefined;
But the component supports passing date as string, so it probably should be
type CalendarValueType = string | Date | string[] | Date[] | undefined;
Reproducer
.
PrimeVue version
3.21
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: