Skip to content

Input Types

Bryan Fox edited this page Oct 29, 2018 · 6 revisions

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

  • Text
  • Checkbox
  • CheckboxGroup
  • NumberInput
  • Toggle
  • ToggleButtonGroup
  • RadioGroup
  • hidden
  • 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"
        }
      ]
    }
  }
}
Clone this wiki locally