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

state = {type: 'number', value: 1000};
      render() {
        const {value, type} = this.state;
        return <input onChange={() => {}} type={type} value={value} />;
      }
    }
    const input = ReactDOM.render(<Input />, container);
    const node = ReactDOM.findDOMNode(input);
    
    
    input.setState({type: 'text', value: 'Test'});
    expect(node.value).toEqual('Test');
  });
  it('resets value of date/time input to fix bugs in iOS Safari', () => {
    function strify(x) {
      return JSON.stringify(x, null, 2);
    }
    const log = [];
    const originalCreateElement = document.createElement;
    spyOnDevAndProd(document, 'createElement').and.callFake(function(type) {
      const el = originalCreateElement.apply(this, arguments);
      let value = '';
      if (type === 'input') {
        Object.defineProperty(el, 'value', {
          get: function() {
            return value;