issues
search
alibaba
/
x-render
🚴♀️ 阿里 - 很易用的中后台「表单 / 表格 / 图表」解决方案
https://xrender.fun
6.99k
stars
989
forks
source link
列表组件 cardList 能否支持标题配置变量,折叠状态时展示具体 items 的某个属性内容
#1362
Closed
Ariel-Cheng
closed
6 months ago
Ariel-Cheng
commented
1 year ago
期望的新功能 (describe the expected new feature)
列表组件 cardList 新增 titleKey 配置。
只有当 type array,widget 为 cardList , items.type 为 object 时生效。
生效后卡片的标题跟随对象 key 的内容变化
简述一下使用场景,便于开发者更好理解新功能的必要性 (describe your scenario for us to understand the need)
当使用 cardList 配置大量数据时,能够通过指定 titleKey ,实现折叠状态下快速找到具体的数据位置,同时多条数据下的数据上移、下移等操作也会更加方便。
lhbxs
commented
6 months ago
欢迎提 pr
期望的新功能 (describe the expected new feature)
简述一下使用场景,便于开发者更好理解新功能的必要性 (describe your scenario for us to understand the need)