Skip to content

Regression: onChange doesn't fire with defaultChecked and radio inputs #9988

@ThisIsMissEm

Description

@ThisIsMissEm

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
In React 15.6.1, this behaviour is changed; In 15.5.4, it fires the change event reliably.

15.6.1 - https://codesandbox.io/embed/VPA42ZnRo
15.5.4 - https://codesandbox.io/embed/JZ0mnE5oy

You'll need to have the console open to get the debugger statement.

In 15.6.1, the first change fires, but all subsequent changes do not fire. In 15.5.4, all changes fire.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

React 15.6.1 vs React 15.5.4; Chrome latest stable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions