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

[新功能需求] 为数据输入类组件例如 upload 添加 readonly 属性 #449

Open
wll8 opened this issue Jul 18, 2024 · 0 comments
Open
Labels
feature: need confirm 待确认的新特性

Comments

@wll8
Copy link

wll8 commented Jul 18, 2024

这个功能解决了什么问题?

input 组件、select-picker 等表单组件都支持 readonly,当直接把表单页面转换为只读状态时,很方便。但是 upload 没有此属性(只有 disabled 但 disabled 可能被赋予灰色样式)。

理论上,期望所有表单组件都支持该属性。

你期望的 API 是什么样子的?

<wd-upload  readonly />
@wll8 wll8 added the feature: need confirm 待确认的新特性 label Jul 18, 2024
@wll8 wll8 changed the title [新功能需求] 为 upload 添加 readonly 属性 [新功能需求] 为数据输入类组件例如 upload 添加 readonly 属性 Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: need confirm 待确认的新特性
Projects
None yet
Development

No branches or pull requests

1 participant