-
Notifications
You must be signed in to change notification settings - Fork 46.4k
-
Notifications
You must be signed in to change notification settings - Fork 46.4k
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 submit button has empty values in 15.2.0 #7179
Comments
Uhhh, seems that this was missed on #6406? The culprit here is
|
@h8rry, I think your links for behavior are not saved correctly. Current behavior(ReactJS 15.2.0): ReactJS (15.1.0): |
Thanks for catching! I put up something that at least fixes the constant render case. I think we'd always have this problem if you toggled value of these inputs from a real value to undefined so I'm not too worried about trying to handle that. |
Do you want to request a feature or report a bug?
This is a bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/reactjs/69z2wepo/).
Using 15.2.0 react and react-dom
What is the expected behavior?
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
In 15.2.0, extra attributes
name
andvalue
with empty values are added to the submit button of a form.It works in 15.1.0.
The text was updated successfully, but these errors were encountered: