{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "combo-blocks/form-field-select",
  "title": "Form Field - Select",
  "textdomain": "combo-blocks",
  "category": "combo-blocks-tools",
  "parent": [
    "combo-blocks/form-wrap",
    "combo-blocks/flex-wrap",
    "combo-blocks/flex-wrap-item",
    "combo-blocks/grid-wrap",
    "combo-blocks/grid-wrap-item",
    "core/columns",
    "combo-blocks/tabs-nested-item",
    "combo-blocks/accordion-nested-item"
  ],
  "usesContext": [
    "postId",
    "loopIndex",
    "postType",
    "queryId"
  ],
  "supports": {
    "align": [
      "wide",
      "full"
    ]
  },
  "attributes": {
    "wrapper": {
      "type": "object",
      "default": {
        "options": {
          "tag": "div",
          "class": "pg-form-field-select"
        },
        "styles": {}
      }
    },
    "label": {
      "type": "object",
      "default": {
        "options": {
          "tag": "label",
          "for": "label",
          "enable": true,
          "text": "Your Name",
          "class": "pg-form-field-label"
        },
        "styles": {}
      }
    },
    "inputWrap": {
      "type": "object",
      "default": {
        "options": {
          "tag": "div",
          "enable": true,
          "class": ""
        }
      }
    },
    "select": {
      "type": "object",
      "default": {
        "options": {
          "value": "",
          "valueSource": "",
          "placeholder": "-Select-",
          "name": "",
          "required": false,
          "disabled": false,
          "multiple": false,
          "autofocus": null,
          "readonly": false,
          "objMap": "",
          "args": [
            {
              "label": "Option 1",
              "value": "option1"
            },
            {
              "label": "Option 2",
              "value": "option2"
            }
          ],
          "argsSrc": {
            "src": "",
            "srcPrams": {}
          },
          "id": "",
          "class": "pg-form-field-select",
          "position": "afterLabel"
        },
        "styles": {}
      }
    },
    "labelWrap": {
      "type": "object",
      "default": {
        "options": {
          "tag": "div",
          "enable": true,
          "class": ""
        },
        "styles": {}
      }
    },
    "icon": {
      "type": "object",
      "default": {
        "options": {
          "enable": true,
          "library": "fontAwesome",
          "srcType": "class",
          "iconSrc": "fas fa-check-circle",
          "position": "beforeText",
          "class": "text-icon"
        },
        "styles": {}
      }
    },
    "errorWrap": {
      "type": "object",
      "default": {
        "options": {
          "tag": "div",
          "enable": true,
          "text": "",
          "position": "afterInput",
          "class": ""
        },
        "styles": {}
      }
    },
    "requiredWrap": {
      "type": "object",
      "default": {
        "options": {
          "tag": "span",
          "enable": true,
          "class": ""
        },
        "styles": {}
      }
    },
    "conditions": {
      "type": "object",
      "default": {
        "rules": []
      }
    },
    "blockId": {
      "type": "string",
      "default": ""
    },
    "blockCssY": {
      "type": "object",
      "default": {
        "items": {}
      }
    }
  },
  "script": "combo_blocks_scripts",
  "keywords": [
    "form block for wordpress",
    "form block",
    "form builder",
    "form maker",
    "dynamic form",
    "Contact Form Plugin",
    "opt-in form",
    "login form",
    "register form",
    "custom form",
    "wordpress form",
    "wordpress form plugin",
    "Subscription form",
    "contact form block"
  ],
  "description": "The select field block is a feature in online forms that allows users to choose one option from a dropdown list."
}