Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

form内有部分组件设置disabled不会生效,如upload #7046

Closed
1 task done
nsnans opened this issue Oct 20, 2023 · 1 comment · Fixed by #7047
Closed
1 task done

form内有部分组件设置disabled不会生效,如upload #7046

nsnans opened this issue Oct 20, 2023 · 1 comment · Fixed by #7047

Comments

@nsnans
Copy link

nsnans commented Oct 20, 2023

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

Version

4.0.6

Environment

"vue": "^3.3.4","ant-design-vue": "^4.0.6",google chrome:版本 118.0.5993.89(正式版本) (64 位)

Reproduction link

Edit on CodeSandbox

Steps to reproduce

https://codesandbox.io/p/sandbox/admiring-hooks-cy8q7y?file=%2Fsrc%2FApp.vue%3A3%2C32

What is expected?

可以正常禁用

What is actually happening?

https://codesandbox.io/p/sandbox/admiring-hooks-cy8q7y?file=%2Fsrc%2FApp.vue%3A3%2C32
image

@kovsu
Copy link
Member

kovsu commented Oct 20, 2023

好像是有问题,你给 form 设置的 disabled 是 false。然后一个生效一个不生效,所以选择哪个 disabled 生效是一个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants