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

VueForm 能不能通过一个disabled为true来置灰整个表单 #363

Open
lonelyzou opened this issue Jul 18, 2024 · 4 comments
Open

VueForm 能不能通过一个disabled为true来置灰整个表单 #363

lonelyzou opened this issue Jul 18, 2024 · 4 comments

Comments

@lonelyzou
Copy link

反馈问题请先查看文档和务必提供详细的复现代码,遵循如下格式,描述不清楚的问题将会直接关闭。

vue和ui框架

vue2或者vue3、ui框架element antd、vjsf 使用版本说明

问题描述

对错误是什么的清晰简洁的描述。

如何复现

可以详细介绍你的复现场景或者相关代码。

必要时提供复现demo,如codepen,github 复现仓库,playground分享链接等

期望的结果

....

@lonelyzou
Copy link
Author

vue2 ui框架element

@lonelyzou lonelyzou reopened this Jul 18, 2024
@lonelyzou
Copy link
Author

:form-props="{disabled: true}" 可以设置,但还遗漏的一些操作按钮无法去除

@lonelyzou
Copy link
Author

#vueFormDisabled {
.arrayOrderList_bottomAddBtn {
display: none;
}
.arrayListItem_operateTool {
display: none;
}
}
目前准备强制设置display: none来隐藏操作按钮

@lljj-x
Copy link
Owner

lljj-x commented Jul 19, 2024

对, disabled 目前只是透传给了 对眼的ui form组件,比如element ui form 。

可以发下复现的配置,可以优化下这部分

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

No branches or pull requests

2 participants