Skip to content

Bug - MenuToggleCheckbox - indeterminate console error #10034

Closed
@kmcfaul

Description

@kmcfaul

Setting the checkbox to be indeterminate via isChecked={null} is triggering an error that indicates a "controlled input is becoming uncontrolled" in the console.

To resolve - checked should be set by calculateChecked instead.

Also, the error was not showing on the docs site but is showing on codesandbox.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions