1.1.1 • Published 6 years ago
zubair-react-form-builder v1.1.1
Zubair React From Builder
Zubair React Form Builder help you to build forms with drag and drop you can also inject your own component.
Installation
FormContainer Props
- custom : Array
- onSave(form) : Function
- updateForm(callback) : Function
- updateOnMount : Boolean
- debug : Boolean
- loader: Boolean // set save button on loading state
// Note OnSave Props also turn on Save Button on <FormContainer />
ToolBox Props
- custom : Array
Example
You can pass custom components to the form builder
Required Props Methods Of Custom Component
this.props.changeState(state, this.props.index)
this.props.removeField(index)