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

[Radio] readonly 状态下希望变成禁用样式 #4857

Closed
Lnncoco opened this issue Dec 23, 2024 · 2 comments
Closed

[Radio] readonly 状态下希望变成禁用样式 #4857

Lnncoco opened this issue Dec 23, 2024 · 2 comments
Labels
🎨 Design Design and interactive wontfix This will not be worked on

Comments

@Lnncoco
Copy link
Contributor

Lnncoco commented Dec 23, 2024

tdesign-vue-next 版本

1.10.5

重现链接

No response

重现步骤

按钮单选框形式下,同时添加 readonly 属性

期望结果

鼠标样式变更为禁用样式

实际结果

当为只读状态时,鼠标依然是可点击的样式,导致用户容易误判

其他如input,只读状态下虽然变了,但是点击形式的,也很容易有误判。select只读状态也是可点击的,也有同样的问题。

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @Lnncoco,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@uyarn uyarn added the 🎨 Design Design and interactive label Dec 23, 2024
@uyarn
Copy link
Collaborator

uyarn commented Dec 24, 2024

和设计同学讨论了一下 目前input相关组件的只读效果都是类似原生html的input的,所以尽量按类似的效果实现;radio原生Html没有,但是为了保持一致的风格所以也和input是一样的交互效果,这个问题暂时不会处理 🙏

@uyarn uyarn closed this as completed Dec 24, 2024
@uyarn uyarn added the wontfix This will not be worked on label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 Design Design and interactive wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants