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

Form中getFieldDecorator绑定组件的id相同时,点击任一个label会focus错误 #9103

Closed
nic-lidegao opened this issue Jan 24, 2018 · 4 comments

Comments

@nic-lidegao
Copy link

Version

3.1.4

Environment

win10 chrome

Reproduction link

https://codesandbox.io/embed/rr622o2yx4

Steps to reproduce

1.绑定组件id相同时,点击任意一个FormItem的名称,都会focus到第一个组件上

What is expected?

focus到正确组件或者名称点击不可以focus

What is actually happening?

focus到第一个组件

@ant-design-bot
Copy link
Contributor

It will be better to write your issue/comment in English, so more people can understand you.
And this means that more people can help you or benefit from your issue/comment.
See: #4897

@nikogu
Copy link
Contributor

nikogu commented Jan 24, 2018

it is right, id need be unique.

@afc163
Copy link
Member

afc163 commented Jan 24, 2018

This is strange, this problem should have been fixed in #7351

I will check it now.

@afc163
Copy link
Member

afc163 commented Jan 24, 2018

Broken again by bf70d30#diff-94b7635a3702d37a73e4971da7dda90b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants