Skip to content

Set the Form component with disabled attribute,but the checkbox can still be selected ! #36343

@frontierFlight

Description

@frontierFlight

Reproduction link

Edit on CodeSandbox

Steps to reproduce

click the button and watch the checkbox component

What is expected?

the checkbox can be disabled when the form is seted disabled

What is actually happening?

the checkbox can be selected when the form is seted disabled

Environment Info
antd 4.21.4
React 18.0.0
System windows
Browser 版本 99.0.4844.84(正式版本) (32 位)

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