Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] DateRangePicker 中 calendar-change 事件注册时需要用 'calendar-change' 来注册, #457

Open
itsxt opened this issue Apr 18, 2024 · 0 comments

Comments

@itsxt
Copy link

itsxt commented Apr 18, 2024

在 interface DateTimePickerComponentProps 和 DatePickerComponentProps 中
on?: {
change?: (value: string | Date | number | string[]) => void
blur?: (event: FocusEvent) => void
focus?: (event: FocusEvent) => void
calendarChange?: (val: [Date, Date]) => void
visibleChange?: (visibility: boolean) => void
}

calendarChange 事件名应该是 ‘calendar-change’
否则该事件监听不到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant