Skip to content

🤪React form solution! Use it to reduce duplicate code!🚀

License

Notifications You must be signed in to change notification settings

gjc9620/dino-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🤪React form solution! Use it to reduce duplicate code!🚀

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published