Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

在datepicker中 mindate只允许传入string类型 #888

Open
@happyfeet1996

Description

@happyfeet1996

Version

9.0.0

Environment

angular

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-mobile-start-yhwjim?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts

Steps to reproduce

<ListItem
DatePicker
[minDate]="date"
[extra]="currentDateFormat(date, 'yyyy-mm-dd')"
[arrow]="'horizontal'"
[mode]="'date'"
[ngModel]="date"
(onOk)="onOk($event)"

date: Date = new Date();

What is expected?

在datepicker中 mindate只允许传入string类型,而传入date string会报错,但是传入date不会

What is actually happening?

传入date字符串报错

Other?

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp