Skip to content

为何在设置 nzFormat="MM/yyyy" 后手动输入不生效,无法通过输入的日期跳转到到下拉日历里对应的年月 #9331

@sswwpprrtt

Description

@sswwpprrtt

Reproduction link

https://stackblitz.com/edit/btzptfwh?file=src%2Fapp%2Fapp.ts

Steps to reproduce

把monthFormat = 'yyyy/MM';改成monthFormat = 'MM/yyyy';

What is expected?

https://stackblitz.com/edit/btzptfwh?file=src%2Fapp%2Fapp.ts能像这其他日期格式一样,能够转到到下拉日历里对应的年月

What is actually happening?

现在是monthFormat = 'MM/yyyy';这个日期格式不能实现这个效果

Environment Info
ng-zorro-antd 20.1.2
Browser 谷歌

Metadata

Metadata

Assignees

No one assigned

    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