Skip to content

Conversation

@claudiux
Copy link
Member

Example in a settings-schema.json file:

"myList": {
        "type": "list",
        "default": [],
        "columns":  [
            {"id": "id", "title": "Name", "type": "string", "expand-width": true}
        ],
        "show-buttons": true,
        "hidden-buttons": ["+", "-", "edit"],
        "description": "My list"
    },

The "hidden-buttons" is an array that is [] (empty) by default.

This array can contain these values:

  • "+"
  • "-"
  • "edit"
  • "up"
  • "down"

With the example above: "hidden-buttons": ["+", "-", "edit"], the user can not add, remove or edit rows to the list; the user only can move the items of the list.

image

TODO: Update documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant