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

[pro:other] 高级表单组件 #981

Closed
1 task done
danranVm opened this issue Jun 27, 2022 · 3 comments · Fixed by #1028
Closed
1 task done

[pro:other] 高级表单组件 #981

danranVm opened this issue Jun 27, 2022 · 3 comments · Fixed by #1028
Assignees

Comments

@danranVm
Copy link
Member

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

高效,便捷的使用表单。

What does the proposed API look like?

  • jsonSchema 验证
  • 类似 table 组件的 columns 配置形式。
@idux-bot
Copy link

idux-bot bot commented Jun 27, 2022

Translation of this issue:

[Pro: Other] Advanced form component

What PROBLEM DOES This Feature Solve?

Efficient and convenient use of forms.

What does the proposed api look like?

-jsonschema verification
-Columns configuration similar to table components.

@lvzero535
Copy link

lvzero535 commented Jun 27, 2022

表单配置化:SchemaForm
参考:https://github.com/buqiyuan/vue3-antd-admin/blob/main/src/components/core/schema-form/index.ts
image

@danranVm
Copy link
Member Author

danranVm commented Jul 8, 2022

目前的方案是打算:

  • 自定义一个 UISchema 用于渲染 UI,类似上面的 SchemaForm
  • 接入 ajv, 实现标准 jsonSchema 的验证

danranVm added a commit to danranVm/idux that referenced this issue Jul 20, 2022
danranVm added a commit that referenced this issue Jul 21, 2022
* feat(pro:form): add ProForm component

fix #981

* build: fix 'Error: 'default' is not exported by ajv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants