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
DegaoLi opened this Issue Jan 24, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@DegaoLi

DegaoLi commented Jan 24, 2018

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

This comment has been minimized.

ant-design-bot commented Jan 24, 2018

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

This comment has been minimized.

Contributor

nikogu commented Jan 24, 2018

it is right, id need be unique.

@afc163

This comment has been minimized.

Member

afc163 commented Jan 24, 2018

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

I will check it now.

@afc163

This comment has been minimized.

Member

afc163 commented Jan 24, 2018

@afc163 afc163 closed this in b3f3121 Jan 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment