0.0.41 • Published 8 years ago
graphql-forms v0.0.41
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
8 years ago
0.0.40
8 years ago
0.0.39
8 years ago
0.0.38
8 years ago
0.0.37
8 years ago
0.0.36
8 years ago
0.0.35
8 years ago
0.0.34
8 years ago
0.0.33
8 years ago
0.0.32
8 years ago
0.0.31
8 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.28
8 years ago
0.0.27
8 years ago
0.0.26
8 years ago
0.0.25
8 years ago
0.0.24
8 years ago
0.0.23
8 years ago
0.0.22
8 years ago
0.0.21
8 years ago
0.0.20
8 years ago
0.0.19
8 years ago
0.0.18
8 years ago
0.0.17
8 years ago
0.0.16
8 years ago
0.0.15
8 years ago
0.0.14
8 years ago
0.0.13
8 years ago
0.0.12
8 years ago
0.0.11
8 years ago
0.0.10
8 years ago
0.0.9
8 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago