Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-form-generator

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-form-generator

React Form Generator.

  • 0.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

State-less form generator

Docs Code Climate
NPM version

Summary

React component, that generates form from metadata.

Features:

  • separated form's logic model and layout;
  • validation (includes complex validators or and and);
  • grid-based layout (nested grids are possible too).
  • extensibility (support for custom primitive and custom layout renderers)

Demo

Right now I'm working on more comprehensive demo, but it can take some time...

Usage

var GeneratedForm = require( 'react-form-generator' )();

<GeneratedForm meta={meta}
               value={this.state.value}
               errors={this.state.errors}
               onChange={this.handleFormChanged}/>

For full usage example see demo/client/main.js or read the docs.

How do I get set up?

git clone git@github.com:AZaviruha/react-form-generator.git
npm install
gulp demo # or, if you don't have global gulp: ./node_modules/.bin/gulp demo

The last command compiles demo and runs simple express server.

TODO

  • Add documentation (in progress).
  • Add unit-tests (in progress).
  • Add full metadata format description (in progress).
  • Add complete CRUD example.
  • Add tutorial for adding custom components, so that users will be able to use their own UI-components.

Contributors

Distributed under the MIT License (see LICENSE file).

Keywords

FAQs

Package last updated on 22 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc