**Do you want to request a _feature_ or report a _bug_?**

This is a bug

**What is the current behavior?**

![screen shot 2016-07-03 at 4 12 19 pm](https://cloud.githubusercontent.com/assets/1697380/16544656/b3f896b2-4140-11e6-923a-06fc630c92df.png)
![screen shot 2016-07-03 at 4 11 15 pm](https://cloud.githubusercontent.com/assets/1697380/16544657/b3f8f292-4140-11e6-8b03-0ecaa3165460.png)

**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?**

![screen shot 2016-07-03 at 4 13 05 pm](https://cloud.githubusercontent.com/assets/1697380/16544659/b938951e-4140-11e6-9275-2c3721542003.png)
![screen shot 2016-07-03 at 4 13 10 pm](https://cloud.githubusercontent.com/assets/1697380/16544660/b9391278-4140-11e6-9951-0f81024ce859.png)

**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` and `value` with empty values are added to the submit button of a form.

It works in 15.1.0.

'Input elements should not switch from uncontrolled to controlled (or vice versa). ' +
        'Decide between using a controlled or uncontrolled input ' +
        'element for the lifetime of the component. More info: https://fb.me/react-controlled-components\n' +
        '    in input (at **)',
    );
  });
  it('should warn if uncontrolled checkbox (checked is null) switches to controlled', () => {
    const stub = <input type="checkbox" checked={null} />;
    ReactDOM.render(stub, container);
    expect(() =>
      ReactDOM.render(<input type="checkbox" checked={true} />, container),
    ).toWarnDev(
      'Warning: A component is changing an uncontrolled input of type checkbox to be controlled. ' +
        'Input elements should not switch from uncontrolled to controlled (or vice versa). ' +
        'Decide between using a controlled or uncontrolled input ' +
        'element for the lifetime of the component. More info: https://fb.me/react-controlled-components\n' +
        '    in input (at **)',
    );
  });
  it('should warn if controlled radio switches to uncontrolled (checked is undefined)', () => {
    const stub = <input type="radio" checked={true} onChange={emptyFunction} />;
    ReactDOM.render(stub, container);
    expect(() => ReactDOM.render(<input type="radio" />, container)).toWarnDev(
      'Warning: A component is changing a controlled input of type radio to be uncontrolled. ' +
        'Input elements should not switch from controlled to uncontrolled (or vice versa). ' +
        'Decide between using a controlled or uncontrolled input ' +
        'element for the lifetime of the component. More info: https://fb.me/react-controlled-components\n' +
        '    in input (at **)',
    );
  });