Custom Component Property - Check Box

Q1: What is the format for a Custom Component Property for a check box?

Q2: Is there a list of Propert Types?

Hi @logrunner,

We have a switch, it’s the same as a checkbox.

We’re still working on the developer docs, they are being added to every week. Here’s a link to all the UI Controls section.

Here’s a code snippet to paste into your properties file. You can reference the value in the Template file by using the property name {{display}}.

{
  "groups": [
    {
      "title": "Item",
      "properties": [
        {
          "title": "Lights",
          "property": "display",
          "switch": {
            "trueValue": "on",
            "falseValue": "off",
            "default": true
          }
        }
      ]
    }
  ]
}

1 Like