block.json
52 lines
| 1 | { |
| 2 | "name": "surecart/textarea", |
| 3 | "title": "Textarea", |
| 4 | "description": "Displays a form text textarea field. This is saved with the order as additional metadata.", |
| 5 | "category": "surecart", |
| 6 | "keywords": ["textarea", "input", "custom", "field"], |
| 7 | "textdomain": "surecart", |
| 8 | "ancestor": ["surecart/form"], |
| 9 | "supports": { |
| 10 | "reusable": false, |
| 11 | "html": false |
| 12 | }, |
| 13 | "attributes": { |
| 14 | "required": { |
| 15 | "type": "boolean" |
| 16 | }, |
| 17 | "value": { |
| 18 | "type": "string", |
| 19 | "default": "" |
| 20 | }, |
| 21 | "placeholder": { |
| 22 | "type": "string", |
| 23 | "default": "" |
| 24 | }, |
| 25 | "disabled": { |
| 26 | "type": "boolean", |
| 27 | "default": false |
| 28 | }, |
| 29 | "size": { |
| 30 | "type": "string", |
| 31 | "default": "" |
| 32 | }, |
| 33 | "label": { |
| 34 | "type": "string", |
| 35 | "default": "Textarea" |
| 36 | }, |
| 37 | "help": { |
| 38 | "type": "string" |
| 39 | }, |
| 40 | "inputmode": { |
| 41 | "type": "string" |
| 42 | }, |
| 43 | "max": { |
| 44 | "type": ["string", "number"] |
| 45 | }, |
| 46 | "name": { |
| 47 | "type": "string", |
| 48 | "default": "textarea" |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 |