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
Datepicker 组建 mode 参数为 'year' 时无法选择年份 #11938
Comments
Translation of this issue: Datepicker When the mode parameter is 'year', the year cannot be selected.
Version3.8.4 EnvironmentCodepen platform Datepicker Reproduction linkhttps://ant.design/components/date-picker-cn/#header Steps to reproduceCodepen platform Datepicker When the mode parameter is "year", you can choose to click and pop up the "Year" selection panel, but after selecting a year (such as 2012), you can't close it, so you can't select it. What is expected?Can choose year What is actually happening?Cannot select year Official codepen example |
Duplicate of #4524 |
<DatePicker mode="year" onPanelChange={(v) => {console.log(v)}}/> |
Version
3.8.4
Environment
codepen 平台 Datepicker 组建
Reproduction link
https://ant.design/components/date-picker-cn/#header
Steps to reproduce
codepen 平台 Datepicker 组建 mode 参数为 "year" 时,可以选择点击并弹出“年”选择面板,但是选择某一年(如2012)之后不能关闭,进而无法选择
What is expected?
可以选择年份
What is actually happening?
不能选择年份
官方给出的 codepen 例子
The text was updated successfully, but these errors were encountered: