An open API service indexing awesome lists of open source software.

https://github.com/batazor/react-final-form-generator

Generating form over react-final-form
https://github.com/batazor/react-final-form-generator

generator-form material-ui react-form ui

Last synced: 5 months ago
JSON representation

Generating form over react-final-form

Awesome Lists containing this project

README

          

# react-final-form-generator

Generating form over react-final-form

#### Feature

+ generation form use JSON
+ condition

### Usage

```js
import Form, { Control } from 'react-final-form-generator'

// Fields
const fields = [
{
name: 'email',
label: 'Email',
type: 'TextField',
},
{
name: 'submit',
label: 'Submit',
type: 'Button',
condition: {
when: 'email',
is: 'test',
action: '==',
},
},
]
// ...code

function renderForm() {
return (




)
}
```

### TODO

- [] validation