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

schema未匹配到展示组件 #1519

Open
blockmood opened this issue Apr 26, 2024 · 2 comments
Open

schema未匹配到展示组件 #1519

blockmood opened this issue Apr 26, 2024 · 2 comments
Assignees

Comments

@blockmood
Copy link

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

  • react:
  • form-render:
  • table-render:
  • antd:

2.问题描述(Bug description)

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

const schema = {
  // ...
[1.json](https://github.com/alibaba/x-render/files/15124432/1.json)

}

4.最小复现 demo(Reproduction demo)

import { useEffect, useRef, useState } from "react";
import { schema } from './1'
import Form, { useForm } from 'form-render';


function App() {

  const form = useForm();
  

  return (
    <div className="App1">
      <Form
        form={form}
        schema={schema}
        onFinish={formData => console.log(JSON.stringify(formData, null, 2))}
        footer
      />
    </div>
  );
}

export default App;

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

帮忙看看是什么问题,谢谢。

@blockmood
Copy link
Author

1714097593592

@blockmood
Copy link
Author

@lhbxs

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