I have this code

```
       <input name='test' value={1} type='radio' />
       <input name='test' value={2} type='radio' defaultChecked />
```

https://jsfiddle.net/69z2wepo/42137/

And when I click on radio it gives me warning
Warning: Test is changing a uncontrolled input of type radio 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

So its not clear why or is it a bug ?

var node = ReactDOM.findDOMNode(stub);
    expect(node.value).toBe('false');
  });
  it('should update `defaultValue` for uncontrolled input', function() {
    var container = document.createElement('div');
    var node = ReactDOM.render(<input type="text" defaultValue="0" />, container);
    expect(node.value).toBe('0');
    ReactDOM.render(<input type="text" defaultValue="1" />, container);
    expect(node.value).toBe('0');
    expect(node.defaultValue).toBe('1');
  });
  it('should take `defaultValue` when changing to uncontrolled input', function() {
    var container = document.createElement('div');
    var node = ReactDOM.render(<input type="text" value="0" readOnly="true" />, container);
    expect(node.value).toBe('0');
    ReactDOM.render(<input type="text" defaultValue="1" />, container);
    expect(node.value).toBe('0');
  });
  it('should render defaultValue for SSR', function() {
    var markup = ReactDOMServer.renderToString(<input type="text" defaultValue="1" />);
    var div = document.createElement('div');
    div.innerHTML = markup;
    expect(div.firstChild.getAttribute('value')).toBe('1');
    expect(div.firstChild.getAttribute('defaultValue')).toBe(null);
  });
  it('should render value for SSR', function() {
    var element = <input type="text" value="1" onChange={function() {}} />;
    var markup = ReactDOMServer.renderToString(element);
    var div = document.createElement('div');
    div.innerHTML = markup;