Skip to content
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

nz-range-picker组件中设置[nzId]会导致内部两个input的id重复 #8887

Open
tanwei0425 opened this issue Nov 21, 2024 · 0 comments
Open
Assignees

Comments

@tanwei0425
Copy link

Reproduction link

https://codesandbox.io/p/sandbox/ng-zorro-antd-ivy-forked-f2l9t6?file=%2Fsrc%2Fapp%2Fapp.component.ts%3A12%2C1

Steps to reproduce

增加nzId属性后会出现两个input为同一个id

What is expected?

nzId支持string[],在nz-range-picke范围的时候可以赋值2个id

What is actually happening?

nzId为string,在nz-range-picke范围的时候会把nzId同时给两个input框作为id

Environment Info
ng-zorro-antd 18.2.1
Browser Google
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants