final-form / react-final-form

🏁 High performance subscription-based form state management for React
https://final-form.org/react
MIT License
7.38k stars 479 forks source link

Want to auto create form using JSONSchema #208

Open kavink opened 6 years ago

kavink commented 6 years ago

I was looking at this: https://github.com/mozilla-services/react-jsonschema-form not sure I want another form in my App.

Wondering how to do similar with React Final form ? or how do I integrate both but use react-final-form ?

erikras commented 6 years ago

That's pretty cool. It must be possible to do with RFF. Just a matter of looping and mapping schema to props. I'll put it in the "interesting possible extensions" queue.

kavink commented 6 years ago

@erikras Exactly im pretty sure it should be easy with React Final Form's, it has clean API's, I personally want to just stick with react-final-form, because have very good luck quickly getting task done. 👍

frystpingvin commented 6 years ago

@kavink Did you have any success with this? I'm facing a similar problem, although our JSON object looks a bit different from the JSON Schema in the react-jsonschema-form.

kavink commented 6 years ago

@frystpingvin No, if anyone does, Please share 🥇

erikras commented 6 years ago

I noticed this project by @leuction yesterday. https://github.com/leuction/react-schema-final-form Seems to be a work in progress...

shuowpro commented 6 years ago

@kavink I have finished one, it perfectly fits my project. https://github.com/leuction/react-schema-final-form and I have build a theme for my own project with material-ui-next https://github.com/leuction/react-schema-final-form-material-ui Please feel free to send issue or PR if you request more feature.