{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "nnforms/input",
  "version": "0.1.0",
  "title": "Input",
  "category": "nnforms",
  "icon": "editor-textcolor",
  "description": "Input Field",
  "parent": [
    "nnforms/form"
  ],
  "example": {},
  "supports": {
    "html": false
  },
  "attributes": {
    "id": {
      "type": "string"
    },
    "inputType": {
      "type": "string",
      "default": "text"
    },
    "fieldLabel": {
      "type": "string",
      "default": "Field Label"
    },
    "placeholder": {
      "type": "string",
      "default": ""
    },
    "defaultValue": {
      "type": "string",
      "default": ""
    },
    "required": {
      "type": "boolean",
      "default": false
    },
    "minValue": {
      "type": "number",
      "default": 0
    },
    "maxValue": {
      "type": "number",
      "default": 100
    },
    "maxLength": {
      "type": "number",
      "default": 100
    }
  },
  "inputdomain": "nnforms",
  "editorScript": "file:./index.js",
  "render": "file:./render.php"
}