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

Comments

Projects
None yet
2 participants
@Kunoky

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

This comment has been minimized.

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

This comment has been minimized.

Kunoky commented Aug 28, 2017

@Kunoky

This comment has been minimized.

Kunoky commented Sep 1, 2017

What are you saying?

@afc163 afc163 added the Bug🐛 label Sep 1, 2017

@afc163 afc163 self-assigned this Sep 1, 2017

@afc163 afc163 closed this 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