jdorn / json-editor

JSON Schema Based Editor
MIT License
5.81k stars 1.08k forks source link

Can I format checkbox for one item per line #835

Open djy0215 opened 5 years ago

djy0215 commented 5 years ago

A simple checkbox schema:

{
  "type": "array",
  "format": "checkbox",
  "uniqueItems": true,
  "items": {
    "type": "string",
    "enum": ["value1","value2"]
   }
}

The page will display value1 and value2 in the same line. Is there a way to modify the schema to let one item one line?

FYI, I am using this JSON EDITOR for Jenkins Extended choice plugin.

Thanks:)

pmk65 commented 5 years ago

This repo is no longer maintained (see also #800)

Development is continued at https://github.com/json-editor/json-editor

For details please visit json-editor/json-editor#5