{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "combo-blocks/form-field-file",
  "title": "Form Field - File",
  "textdomain": "combo-blocks",
  "category": "combo-blocks-tools",
  "parent": [
    "combo-blocks/form-wrap"
  ],
  "usesContext": [
    "postId",
    "loopIndex",
    "postType",
    "queryId"
  ],
  "supports": {
    "align": [
      "wide",
      "full"
    ]
  },
  "attributes": {
    "wrapper": {
      "type": "object",
      "default": {
        "options": {
          "tag": "div",
          "class": "pg-form-field-file"
        },
        "styles": {}
      }
    },
    "label": {
      "type": "object",
      "default": {
        "options": {
          "tag": "label",
          "for": "label",
          "enable": true,
          "text": "Your Name",
          "class": "pg-form-field-label"
        },
        "styles": {}
      }
    },
    "input": {
      "type": "object",
      "default": {
        "options": {
          "type": "text",
          "placeholder": "Write your name",
          "value": "",
          "objMap": "",
          "name": "",
          "required": false,
          "disabled": false,
          "minLength": null,
          "maxLength": null,
          "readonly": false,
          "multiple": false,
          "maxCount": 3,
          "maxSize": null,
          "fileTypes": [
            ".jpg",
            ".jpeg",
            ".png",
            ".gif",
            ".pdf"
          ],
          "id": "",
          "class": "pg-form-field-file",
          "position": "afterLabel"
        },
        "styles": {}
      }
    },
    "inputWrap": {
      "type": "object",
      "default": {
        "options": {
          "tag": "div",
          "enable": true,
          "class": ""
        }
      }
    },
    "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": "A form file - upload block is a feature for online forms that allows users to upload files, such as images or documents, to a website."
}