0.0.3 • Published 5 years ago

@androconsis/react-native-jsonschema-form v0.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

react-native-json-schema-form

React-Native component for building forms based on the JSON Schema.

Accomplishments

  • renders the form with schema, uiSchema & formData
  • uniform styling of the components
  • Supported components see list below
  • ajv validation
  • on form submit, form gets scrolled to the topmost error in the form.

Roadmap

  • Support for structured & complex JSON schema includes $id, $ref, definitions, additional properties
  • Support for defaults
  • Better ajv error formulation for readable & understandable errors
  • Support for theme provider for the form components
  • Unit tests

Component list

*Calculated

boolean
checkboxCheckboxWidget
radioRadioWidget
selectUnsupportedWidget
hiddenUnsupportedWidget
textCheckboxWidget
string
textTextWidget
passwordUnsupportedWidget
emailUnsupportedWidget
hostnameUnsupportedWidget
ipv4UnsupportedWidget
ipv6UnsupportedWidget
uriUnsupportedWidget
data-urlUnsupportedWidget
radioRadioWidget
selectDropDownWidget
textareaUnsupportedWidget
hiddenUnsupportedWidget
dateDateWidget
datetimeUnsupportedWidget
date-timeUnsupportedWidget
alt-dateUnsupportedWidget
alt-datetimeUnsupportedWidget
colorUnsupportedWidget
fileUnsupportedWidget
number
textTextWidget
selectUnsupportedWidget
updownUnsupportedWidget
rangeUnsupportedWidget
radioRadioWidget
hiddenUnsupportedWidget
integer
textTextWidget
selectDropDownWidget
updownUnsupportedWidget
rangeUnsupportedWidget
radioRadioWidget
hiddenUnsupportedWidget
checkboxesCheckboxesWidget
array
selectUnsupportedWidget
checkboxesCheckboxesWidget
filesUnsupportedWidget