alibaba / alibaba/lowcode-engine
ArraySetter中item长度控制及renderFooter使用
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
ArraySetter中可以无限添加item,但是某些场景下,想控制下长度,如最多增加2项,添加按钮就隐藏或禁止

另外在查看ArraySetter中的源码,发现extraProps中有一个属性 renderFooter,

尝试在lowcode meta.ts中增加,但是不知道怎么返回一个node

请指教!!!
## **Environments (please complete the following information) (required):** / **请提供如下信息(必填)**
- AliLowCodeEngine version: 1.0.18
- AliLowCodeEngineExt version: 1.0.6-beta.20
- Browser [e.g. chrome, safari] / 浏览器版本
- materials / plugins / tools / 其他物料 / 插件 / 工具链版本
> (this information can be collected via [the manual plugin](https://img.alicdn.com/imgextra/i1/O1CN0115zonY1IsgbkZ2ir7_!!6000000000949-2-tps-3066-1650.png) / 版本信息可[通过低代码用户手册插件收集](https://img.alicdn.com/imgextra/i1/O1CN0115zonY1IsgbkZ2ir7_!!6000000000949-2-tps-3066-1650.png))
## **Additional context (optional)** / **更多额外信息(可选)**
Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.