Skip to content

Form Mode ​

form mode looks like tree mode, but users can only change values: they cannot add, remove, rename or reorder keys. It is a quick way to build a settings editor without writing a form by hand. Here the mode switcher is limited to form and code for power users.

Form mode

When to use form mode ​

  • Editing configuration where the shape is fixed and only values should change.
  • Letting non-technical users tweak data without breaking its structure.

Combine it with JSON Schema validation to also constrain the values.

Released under the MIT License.