FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
surecart
/
packages
/
blocks
/
Blocks
/
Input
Edit File: block.json
{ "name": "surecart/input", "title": "Text Field", "apiVersion": 3, "description": "Displays a form text input field. This is saved with the order as additional metadata.", "category": "surecart", "keywords": ["text", "input", "custom", "field"], "textdomain": "surecart", "ancestor": ["surecart/form"], "supports": { "reusable": false, "html": false }, "attributes": { "required": { "type": "boolean" }, "value": { "type": "string", "default": "" }, "placeholder": { "type": "string", "default": "" }, "disabled": { "type": "boolean", "default": false }, "size": { "type": "string", "default": "" }, "label": { "type": "string", "default": "Input" }, "help": { "type": "string" }, "inputmode": { "type": "string" }, "max": { "type": ["string", "number"] }, "maxlength": { "type": "number" }, "name": { "type": "string", "default": "input" } }, "script": "surecart-components", "style": "surecart-theme-default" }
Save
Back