block.json
54 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 | "ancestor": ["surecart/form"], |
| 8 | "supports": { |
| 9 | "reusable": false, |
| 10 | "html": false |
| 11 | }, |
| 12 | "attributes": { |
| 13 | "required": { |
| 14 | "type": "boolean" |
| 15 | }, |
| 16 | "value": { |
| 17 | "type": "string", |
| 18 | "default": "" |
| 19 | }, |
| 20 | "placeholder": { |
| 21 | "type": "string", |
| 22 | "default": "" |
| 23 | }, |
| 24 | "disabled": { |
| 25 | "type": "boolean", |
| 26 | "default": false |
| 27 | }, |
| 28 | "size": { |
| 29 | "type": "string", |
| 30 | "default": "" |
| 31 | }, |
| 32 | "label": { |
| 33 | "type": "string", |
| 34 | "default": "Textarea" |
| 35 | }, |
| 36 | "help": { |
| 37 | "type": "string" |
| 38 | }, |
| 39 | "inputmode": { |
| 40 | "type": "string" |
| 41 | }, |
| 42 | "max": { |
| 43 | "type": ["string", "number"] |
| 44 | }, |
| 45 | "maxlength": { |
| 46 | "type": "number" |
| 47 | }, |
| 48 | "name": { |
| 49 | "type": "string", |
| 50 | "default": "textarea" |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 |