dino-form
v0.0.8
Published
🤪React form solution! Use it to reduce duplicate code!🚀 https://codesandbox.io/s/23rl65mnzr
Downloads
7
Readme
Dino-form
Todo
getValue
DinoForm
- FromItem
- setFieldsValue
- setFullValues
- setFieldsError
- getFullValues
- getFieldsValue
- verify
- store
- dinoFormRef
//todo editing...
DinoForm
parts | Type | Describe | Example
--- | --- | --- | ---
fragments | Object
| fragments | Detail
groups | Object
| Can be delete or add item(s)| Detail
subform | Object
| Nesting other dino-form | Detail
fragments
parts | Type | Describe | Example
--- | --- | --- | ---
Com | Object
| Any Component | example
group
group | Type | Describe | Example
--- | --- | --- | ---
Com | dino-form
| Will transform become group | example
field | String
| Fields will become object key when collect form | example
count | Number
| Number of initializations | example
formProps | Boolean
| Com's props | example
needDrag | Boolean
| Turn off(on) drag & drop | example
clearMotions | Function
| Reset all animation function | example
pressedMotions | Function
| Return Motion Object function | example
notPressedMotions | Function
| Return Motion Object function | example
createStyle | Function
| Apply Motion function | example
subForms
parts | Type | Describe | Example
--- | --- | --- | ---
SubForms | Object
| dino-form | example
field | Object
| field | example
formProps | Object
| props | example
CreateForm
import createForm from 'dino-form';
createForm(parts)(View)(Wrap)
Why?
What is Parts & View & Wrap?
Drag && Drop
needDrag