Tony Alves 583377bc92 docs(fix): widget example code layout on Site (#1606)
* Fix widget example layout

* Stop running MarkDown through Prettier.
2018-08-14 08:37:07 -06:00

375 B

label target
Boolean boolean

The boolean widget translates a toggle switch input to a true/false value.

  • Name: boolean
  • UI: toggle switch
  • Data type: boolean
  • Options:
    • default: accepts true or false; defaults to false
  • Example:
    - { label: 'Draft', name: 'draft', widget: 'boolean', default: true }