react-easy-schema-form

1.0.2 • Public • Published

react-schema-form

Easy form component with json schema definition

render() {
  <Form name="MyForm" schema="sampleSchema" onSubmit={this.onSubmit} />
}

Sample schema 1:

{
  title: 'Main Title',
  properties: {
    lastname: { type: 'string', id: 'customer.lastname', required: true },
    initials: { type: 'string', id: 'customer.initials', required: true },
    street: { type: 'string', id: 'customer.address.street', required: true },
    city: { type: 'string', id: 'customer.address.city', required: true },
  }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0

Package Sidebar

Install

npm i react-easy-schema-form

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

598 kB

Total Files

11

Last publish

Collaborators

  • sixpaq