Skip to content

无法变更被Popconfirm嵌套的Checkbox的值 #6892

@Firestorm01

Description

@Firestorm01
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.0.1

Environment

Win11,Edge 116,Vue 3.3.4

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<template>
  <a-popconfirm
    title="Are you sure delete this task?"
    ok-text="Yes"
    cancel-text="No"
    @confirm="confirm"
    @cancel="cancel"
  >
    <a-checkbox v-model:checked="check" />
  </a-popconfirm>
</template>

点击其中的Checkbox

What is expected?

点击Checkbox可变更check的值

What is actually happening?

点击Checkbox时check的值无变化

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