Skip to content

Bug - DataList - DataListCheck error when using isChecked #7634

@wise-king-sullyman

Description

@wise-king-sullyman

Describe the problem
When using the isChecked prop to control state of a DataListCheck checkbox an error is thrown.

Error: A component is changing an uncontrolled input of type checkbox to be controlled

How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.

Check the checkbox and view the error in the console
https://codesandbox.io/s/awesome-spence-4tuqfo?file=/index.tsx

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions