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 forms interact with each other #7351

Closed
Kunoky opened this issue Aug 28, 2017 · 3 comments
Closed

Form forms interact with each other #7351

Kunoky opened this issue Aug 28, 2017 · 3 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@Kunoky
Copy link

Kunoky commented Aug 28, 2017

Version

2.12.7

Environment

react 15.4.0

Reproduction link

https://github.com/Kunoky/dva-form.git

Steps to reproduce

分别点击Form表单的两个label

What is expected?

两个Form表单之间互相独立,互不影响。

What is actually happening?

点击第二个label却只对第一个元素起作用


他们的getFieldDecorator 的id相同,一个页面的search表单和create表单之间有一个相同的值

@afc163
Copy link
Member

afc163 commented Aug 28, 2017

Could you provide a re-producible demo to help us, by forking and editing this codepen: http://codepen.io/benjycui/pen/KgPZrE?editors=001

(A good and minimum codpen will save a lot of time 😃)

@Kunoky
Copy link
Author

Kunoky commented Aug 28, 2017

@Kunoky
Copy link
Author

Kunoky commented Sep 1, 2017

What are you saying?

@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Sep 1, 2017
@afc163 afc163 self-assigned this Sep 1, 2017
@afc163 afc163 closed this as completed in 668cec2 Sep 1, 2017
afc163 added a commit that referenced this issue Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants