Skip to content

Difference Behavior between Ant design and ng zorro #9404

@Nicoss54

Description

@Nicoss54

Reproduction link

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

Steps to reproduce

Upload three files, then we will see in the list 3 files.

After than re-upload three files, now the list contains 6 files

I'm suppose that nzLimit is similar to maxCount of Ant design.

In Ant design when maxCount is set to three, the list of file upload can be bigger than maxCount.

What is expected?

I'm suppose that nzLimit is similar to maxCount of Ant design.

In Ant design when maxCount is set to three, the list of file upload can be bigger than maxCount.

What is actually happening?

the list of uploaded files can be bigger than nzLimit

Environment Info
ng-zorro-antd 20.2.1
Browser all

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions