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

Docs 需要补充: TableRender 里的 Search 组件 api 有些不全, 允许传入 ...rest 参数进行透传给 FormRender 但是文档没写 #1520

Closed
hacker0limbo opened this issue May 10, 2024 · 1 comment
Assignees
Labels

Comments

@hacker0limbo
Copy link

1.依赖仓库的版本(Dependencies versions)

  • react:16.x
  • form-render:1.x
  • table-render: 1.x
  • antd:4.x

2.问题描述(Bug description)

TableRender 里的 Search 组件是允许传入多余的参数, 最终会透传给 FormRender, 例如可以传 widgets 等. 但是文档里似乎没写, 不管是 1.x 的文档还是 2.x 的文档 TableRenderapi 里我都没找到相关说明, 反而是 ChartRender 里的 api 提到了...这个是否可以修复一下? 对于新用户还是会造成一些困扰的

3.出现问题的 schema demo(Reproduction schema demo)

const schema = {
  // ...
}

4.最小复现 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

@lhbxs
Copy link
Collaborator

lhbxs commented May 17, 2024

好的,我补充一下

@lhbxs lhbxs closed this as completed May 17, 2024
@lhbxs lhbxs added the doc label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants