How to use json-schema form builder in Refine?
Hi, I am new to Refine. I am trying to build a dynamic form using json . Is there any example for this ? any pointers ?
7 Replies
equal-jade•3y ago
Hi @veeru, what is json-schema form builder ? is this a library ? can you provide more detail please
optimistic-goldOP•3y ago
I am talking about libraries / open source solutions like https://github.com/rjsf-team/react-jsonschema-form or https://antd.formilyjs.org/components/form-step#json-schema-case
GitHub
GitHub - rjsf-team/react-jsonschema-form: A React component for bui...
A React component for building Web forms from JSON Schema. - GitHub - rjsf-team/react-jsonschema-form: A React component for building Web forms from JSON Schema.
optimistic-goldOP•3y ago
Do we have anything similar in Refine ? or any one tried similar solutions
equal-jade•3y ago
unfortunately refine doesn't support this libraries or similar json schema to form libraries out of to box.
you can create steps form like this
https://refine.dev/docs/api-reference/antd/hooks/form/useStepsForm/
but u can use this or similar libraries like this;
https://rekit.github.io/antd-form-builder/examples-v4/
optimistic-goldOP•3y ago
Thanks @alicanerdurmaz , but the link to rekit is currently not working. Is it down ?
ops, now it is working. Thanks
Hey @veeru ,
Do you want to create an example? We will be happy to merge it 🥁
example: https://github.com/refinedev/refine/tree/next/examples/form-antd-use-form
optimistic-goldOP•3y ago
Sure, I willl try out