data-driven-forms
JSONForms
data-driven-forms | JSONForms | |
---|---|---|
4 | 21 | |
287 | 1,953 | |
0.0% | 3.1% | |
8.0 | 8.8 | |
25 days ago | 17 days ago | |
JavaScript | TypeScript | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
data-driven-forms
-
Need to create a form component based on API response
Okay, what you describes called data-driven form, which means you form schema reside somewhere else. I strongly suggest using 3rd party framework such as data-driven form. It will make your life much easier.
-
Is it okay to use a json file set what fields show up in a form?
A longer answer would be yes it is ok BUT what you are doing is coming up with a Domain Specific Language (DSL) for building forms which can be an undertaking both to author and to communicate with other developers. I would suggest using React and javascript to manage the fields if possible and if not look into a library that takes on the task of making a DSL and provides documentation for it (to help communicate to other developers). I found this after a quick search https://data-driven-forms.org/
-
Introducing Material-UI component mapper for Data Driven Forms
Data Driven Forms is a open source React library that uses a data driven approach for building React forms. This approach is based on rendering JSON schemas as React forms with all needed functionality provided by the renderer. It includes features such as validation, conditional fields and many more. It helps web developers to write forms much quicker, simpler and to achieve a consistency across the whole application.
JSONForms
-
Looking for an Android framework for dynamic form creation based on JSON schema
I'm currently working on an Android app that requires dynamic form creation based on JSON schema. I came across the website jsonforms.io and was impressed by their framework for generating forms from JSON schema.
- How do you handle very big forms?
-
What is the best practices for creating multi-step form?
We use JsonForms and for multiple forms and its quite powerful & consistant
-
What would make you use (or not) a tool like JSON Forms for your apps? I'm asking cause I want to learn how to evaluate tooling
There's this cool tool called JSON Forms. Basically you specify a schema and a rudimentary form is generated based on that schema with a framework of your choosing (vue, react, angular) with no additional configuration! Sounded cool so I cloned it. Now it looks like a real time saver, but i'm concerned about how I am using an 'imported template' that will probably restrict any customization on my end.
-
Server Sent UI Schema Driven UIs
Json Forms: https://jsonforms.io/
- JSONForms
-
Form builder based on data structure
Yes, exactly. I did some searching after I posed the question and found this so far https://jsonforms.io/
-
What are your struggles when working with forms in react ?
The best way I found to build form intensive apps is using: https://jsonforms.io/ It's super declarative with JSON Schema and can be easily extended by writing custom widgets. Also it provides good balance between being "battery charged" and freedom of state management.
-
RJSF : My Favorite (Underrated) React Form Library
I agree. RJSF examples work fine but it doesn't scale well to large forms. For a similar approach but better implementation, take a look at https://jsonforms.io/ which also supports multiple frameworks.
-
CRUD with dynamic database, what is the best practice?
Of course in js there's a Library for that: https://jsonforms.io/
What are some alternatives?
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
react-jsonschema-form - A React component for building Web forms from JSON Schema.
formik - Build forms in React, without the tears 😭 [Moved to: https://github.com/jaredpalmer/formik]
formily - 📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
SurveyJS - Free Open-Source JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout that lets you load and run multiple web forms, or build your own self-hosted form management system, retaining all sensitive data on your servers. You have total freedom of choice as to the backend, because any server + database combination is fully compatible.
ngx-formly - 📝 JSON powered / Dynamic forms for Angular
formsy-react - A form input builder and validator for React JS
react-final-form - 🏁 High performance subscription-based form state management for React