Skip to content

sixpaq/react-schema-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 },
  }
}

About

Easy form component with json schema definition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published