x-render
x-render copied to clipboard
🚴♀️ 阿里 - 很易用的中后台「表单 / 表格 / 图表」解决方案
**1.依赖仓库的版本(Dependencies versions)**: - react:"^16.7.0" - form-render:"^1.13.11" - table-render: - antd:^4.16.6 **2.问题描述(Bug description)**: upload 无法使用antd 自带的其他属性 代码 const elements = [ { text: '附件', name: 'UploadFile', schema: { title: '附件', type:...
期望的新功能 (describe the expected new feature) 期望FormInstance下能拿到生成data是Json schemas数据格式的,form.getValues() 拿到的是 JSON 格式的,希望有api 能拿到 form-render 自己的 JSON schema 的数据格式的data。以便回显
**1.依赖仓库的版本(Dependencies versions)**: - react:18.0.0 **2.问题描述(Bug description)**: 拖拽一个组件到画布,会不停重置画布。 **3.最小复现 demo(Reproduction demo)**: form-render demo https://codesandbox.io/s/unruffled-flower-jl78h table-render demo https://codesandbox.io/s/sweet-euler-bdoty fr-generator demo https://codesandbox.io/s/s13sh
样式相关
### 期望的新功能 每个组件可否添加一个样式配置 整个schema可以支持layout布局   像这样多一个style的配置项,这样可以灵活的布局这个对象 用表单编辑器的时候,可以和栅格系统结合吗 像这个网站https://react-grid-layout.github.io/react-grid-layout/examples/0-showcase.html 上面这个效果是https://github.com/react-grid-layout/react-grid-layout 像这样一样,这样排版好,用表单编辑器导出的时候带上布局的样式 
新功能
### 期望的新功能 (describe the expected new feature) ### 简述一下使用场景,便于开发者更好理解新功能的必要性 (describe your scenario for us to understand the need) 希望能够支持多标签的对象类型,即内嵌表单的类型可以为多标签 使用场景:根据不同类型的表单实现多标签分类
  提一个建议, 能不能给个方法, 统一来获取最终导出的schema哪些必填字段没有填写, 现在编辑器是, 只要必填字段没填, 就不能插入新的组件
### 期望的新功能 (describe the expected new feature) 支持栅格布局 ### 简述一下使用场景,便于开发者更好理解新功能的必要性 (describe your scenario for us to understand the need) 支持嵌套的布局,比如一个对象内部是一行1列的,对象内部的对象,又是支持一行3列 类似: https://mrhj.gitee.io/form-generator/#/
**1.依赖仓库的版本(Dependencies versions)**: - react:17.0.47 - form-render:1.9.13 - table-render: - antd:4.21.5 **2.问题描述(Bug description)**: 1. 表单改变一次,form 实例所在的组件会render3次 2. 当表单有array结构时,线上预发输入明显卡顿 fr自带的list组件 与自定义的都有同样的问题 ,资源代理到本地卡顿会消失 **3.最小复现 demo(Reproduction demo)**: form-render demo https://codesandbox.io/s/unruffled-flower-jl78h table-render demo https://codesandbox.io/s/sweet-euler-bdoty fr-generator...
### 期望的新功能 (describe the expected new feature) 通过 form-render生成的schema,如何在用户提交数据的时候在服务端进行校验?没看到相关资料 ### 简述一下使用场景,便于开发者更好理解新功能的必要性 (describe your scenario for us to understand the need) 如题,生成的表单一般是to c的,暴露给用户,在服务端是否可以对前端提交上来的数据进行校验? 使用阿里的formily生成的schemaData ,是可以在后端nodejs进行检验的;  
### 期望list的新增删除等按钮支持自定义事件,既可以继承当前的事件,又可以进行拓展 ### 当表单和其他界面有业务关系的时候,需要联动,表单动态新增一个或者删除一组数据,其他类型的界面需要动态新增或者删除