Skip to content

Input Types

Joshua Melville edited this page Jan 28, 2019 · 6 revisions

The following input types may be used as the value for a form field component.

  • Text
  • Checkbox
  • CheckboxGroup
  • NumberInput
  • Toggle
  • ToggleButtonGroup
  • RadioGroup
  • NumberCounter (not implemented)
  • NumberWheel (not implemented)
  • Date (not implemented)
  • RangeSlider (not implemented)

For example:

{
  "forms": {
    "personForm": {
      "fields": [
        {
          "variable": "name",
          "component": "Text"
        },
        {
          "variable": "isFriend",
          "component": "Checkbox"
        }
      ]
    }
  }
}