NG-ZORRO/ng-zorro-antd

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

Opened this issue · 0 comments

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