{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "firebox/dropdown",
  "version": "1.0.0",
  "title": "Dropdown Field",
  "description": "Add a dropdown field into your form.",
  "category": "firebox",
  "parent": [
    "firebox/form",
    "firebox/column",
    "firebox/row",
    "core/group"
  ],
  "keywords": [
    "dropdown",
    "select",
    "dropdown field",
    "select field"
  ],
  "attributes": {
    "uniqueId": {
      "type": "string",
      "default": ""
    },
    "fieldLabelRequiredFieldIndication": {
      "type": "boolean",
      "default": true
    },
    "fieldName": {
      "type": "string",
      "default": "dropdown"
    },
    "fieldLabel": {
      "type": "string",
      "default": "Dropdown Field"
    },
    "fieldLabelFontWeight": {
      "type": "string",
      "default": ""
    },
    "helpText": {
      "type": "string",
      "default": ""
    },
    "required": {
      "type": "boolean",
      "default": true
    },
    "width": {
      "type": "string",
      "default": "100%"
    },
    "defaultValue": {
      "type": "string",
      "default": ""
    },
    "placeholder": {
      "type": "string",
      "default": ""
    },
    "cssClass": {
      "type": "string",
      "default": ""
    },
    "inputCssClass": {
      "type": "string",
      "default": ""
    },
    "hideLabel": {
      "type": "boolean",
      "default": false
    },
    "disableBrowserAutocomplete": {
      "type": "boolean",
      "default": false
    },
    "choices": {
      "type": "array",
      "default": [
        {
          "default": false,
          "value": 1,
          "label": "Choice 1",
          "image": ""
        },
        {
          "default": false,
          "value": 2,
          "label": "Choice 2",
          "image": ""
        },
        {
          "default": false,
          "value": 3,
          "label": "Choice 3",
          "image": ""
        }
      ]
    }
  },
  "editorScript": "file:./index.js"
}