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

h-transfer 组件优化建议 #210

Closed
qiuguanyou opened this issue Aug 12, 2019 · 4 comments
Closed

h-transfer 组件优化建议 #210

qiuguanyou opened this issue Aug 12, 2019 · 4 comments

Comments

@qiuguanyou
Copy link

qiuguanyou commented Aug 12, 2019

期望行为
1、增加searchKey ,(解决现在搜索必须存在 text 字段的问题)
2、在搜索输入框加入 快捷清空输入按钮
image
3、无数据时,建议搜索框一起隐藏
4、加入内容插槽自定渲染,就是实现如下图自定义渲染
image

@vvpvvp
Copy link
Member

vvpvvp commented Aug 14, 2019

多谢你的建议。
我觉得你的建议都非常的棒,我们将在下一期迭代中,补充这些功能。

@qiuguanyou
Copy link
Author

@vvpvvp 感谢采纳建议, 你是最棒的, 开源了一个这么好用的框架 ! 👍 ,建议再多加入一个设置 高度的属性
现在我是通过 .h-transfer .h-transfer-source .h-transfer-list {max-height: 160px!important;} 这样设置的, 不够方便。设置高度的需求也是存在的。感谢感谢!

@vvpvvp
Copy link
Member

vvpvvp commented Aug 15, 2019

我觉得这个也是比较实用的需求。

还有,内容插槽自定渲染,目前transfer已经支持了,我不太确定你说的是不是和我理解的不一致。
https://www.heyui.top/component/view/transfer#%E8%87%AA%E5%AE%9A%E4%B9%89

@qiuguanyou
Copy link
Author

@vvpvvp 内容插槽自定渲染 挺好的, 不过如果还可以支持两边分别不同的内容插槽自定渲染,那更灵活了。

@vvpvvp vvpvvp closed this as completed in d979e99 Aug 21, 2019
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