Skip to content

DatePicker在type="year-month"下,startDate不能限制开始月份。 #3250

@Yzzzed

Description

@Yzzzed

NutUI React 包名

@nutui/nutui-react-taro

NutUI React 版本号

3.0.12

平台

weapp

重现链接

https://codesandbox.io/p/sandbox/nutui-react-demo-forked-ktrxt6?file=%2Fdemo.tsx%3A31%2C39

重现步骤

在type="year-month"情况下,只有设置了defaultValue,startDate才能生效,不然月份的开始都是01。

Image

Image

期望的结果是什么?

在type="year-month"下,startDate在未设置defaultValue时正常限制开始月份。

实际的结果是什么?

在type="year-month"下,startDate在未设置defaultValue时不能正常限制开始月份。

环境信息

No response

其他补充信息

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions