NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.86k stars 3.91k forks source link

nzFor is invalid, can't focus the target components #1988

Open shenjunjian opened 6 years ago

shenjunjian commented 6 years ago

Version

1.3.0

Environment

ng6, nz1.3

Reproduction link

https://ng-zorro-antd-start-7cgr8f.stackblitz.io

Steps to reproduce

` 123

` ## What is expected? when I click , the will open,and focus ## What is actually happening? do nothing! ## Other? other Form components is same, as nz-input-number ,nz-date-picker 。 I see the source code, you just bind nzFor value ,but do nothing ! so when the Form component is a Input , it focus then input dom ,other components is invalid!
wzhudev commented 6 years ago

如果没法用英文表达清楚,可以用中文。

shenjunjian commented 6 years ago

nzFor不能激活相应的表单组件。 你要是还不清楚,请去mdn查一下文档