0.0.41 • Published 9 years ago

graphql-forms v0.0.41

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

graphql-forms

Installation

npm install graphql-forms --save

General

API

Form Props

  • object: The GraphQLObjectType object. - (mandatory)
  • data: A data model to edit, should follow the provided schema. - (optional)
  • formOptions: Options for the apperance and the behavior of the form. - (optional)
  • fieldsOptions: A map of options for the apperance and the behavior of each field. - (optional)
  • onChange: A function that is being when user change one of the fields. Function(path, value, formValue) - (optional)
  • onSubmit: A function that is being invoked when user clicks submit. Function(formValue) - (optional)

Form Options

  • nestedLevels - the maximum nesting levels that will be rendered in the form.

Field Options

  • _label - the label/title of the field.
  • _helpText - the help text/description of the field.
  • _placeholder - in case of scalars, a placeholder to be displayed.
0.0.41

9 years ago

0.0.40

10 years ago

0.0.39

10 years ago

0.0.38

10 years ago

0.0.37

10 years ago

0.0.36

10 years ago

0.0.35

10 years ago

0.0.34

10 years ago

0.0.33

10 years ago

0.0.32

10 years ago

0.0.31

10 years ago

0.0.30

10 years ago

0.0.29

10 years ago

0.0.28

10 years ago

0.0.27

10 years ago

0.0.26

10 years ago

0.0.25

10 years ago

0.0.24

10 years ago

0.0.23

10 years ago

0.0.22

10 years ago

0.0.21

10 years ago

0.0.20

10 years ago

0.0.19

10 years ago

0.0.18

10 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago