{ "$schema": "https://json.schemastore.org/block.json", "apiVersion": 3, "name": "srfm/input", "title": "Text", "description": "Displays a SureForms Text Field", "category": "sureforms", "keywords": [ "text", "input", "custom", "field", "name", "color" ], "textdomain": "sureforms", "supports": { "reusable": false, "html": false }, "example": { "attributes": { "preview": true } }, "attributes": { "preview": { "type": "boolean", "default": false }, "block_id": { "type": "string" }, "defaultValue": { "type": "string", "default": "" }, "required": { "type": "boolean", "default": false }, "isUnique": { "type": "boolean", "default": false }, "duplicateMsg": { "type": "string", "default": "" }, "placeholder": { "type": "string", "default": "" }, "fieldWidth": { "type": "number", "default": 100 }, "label": { "type": "string", "default": "Text Field" }, "help": { "type": "string", "default": "" }, "errorMsg": { "type": "string", "default": "" }, "textLength": { "type": "number", "default": 100 }, "formId": { "type": "number", "default": "" }, "isConditionalLogic": { "type": "boolean", "default": false }, "slug": { "type": "string", "default": "" }, "inputMask": { "type": "string", "default": "none" }, "customInputMask": { "type": "string", "default": "" }, "readOnly": { "type": "boolean", "default": false } } }