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

自定义label #23

Open
Joulloy opened this issue Jun 21, 2020 · 2 comments
Open

自定义label #23

Joulloy opened this issue Jun 21, 2020 · 2 comments

Comments

@Joulloy
Copy link

Joulloy commented Jun 21, 2020

作者您好
请问如果是需要定制化的label,不仅仅是string类型,现在的api是否可以呢,因为element表单的label是可以使用slot的嘛,我想实现在label后面有一个icon,然后可以点击出现弹框的形式

@chenquincy
Copy link
Owner

@Joulloy 目前是不支持的,因为嵌套表单的关系,label 的 width 需要经过计算,自定义 label 的宽度无法计算。

@Joulloy
Copy link
Author

Joulloy commented Jun 22, 2020

@chenquincy 目前我们的业务需要在最外层和嵌套层都可以点击一个icon弹出一个轻提示,您看这个需求有没有合入总体功能的意义呢,我觉得这个功能还是比较常见的

Repository owner deleted a comment from Joulloy Jun 28, 2020
Repository owner deleted a comment from poordagandhercat Jul 18, 2022
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