block.json
50 lines
| 1 | { |
| 2 | "name": "surecart/email", |
| 3 | "title": "Email", |
| 4 | "description": "Displays an email form field.", |
| 5 | "category": "surecart", |
| 6 | "keywords": ["email", "mail"], |
| 7 | "ancestor": ["surecart/form"], |
| 8 | "supports": { |
| 9 | "reusable": false, |
| 10 | "html": false |
| 11 | }, |
| 12 | "attributes": { |
| 13 | "value": { |
| 14 | "type": "string", |
| 15 | "default": "" |
| 16 | }, |
| 17 | "placeholder": { |
| 18 | "type": "string", |
| 19 | "default": "" |
| 20 | }, |
| 21 | "disabled": { |
| 22 | "type": "boolean", |
| 23 | "default": false |
| 24 | }, |
| 25 | "size": { |
| 26 | "type": "string", |
| 27 | "default": "" |
| 28 | }, |
| 29 | "label": { |
| 30 | "type": "string", |
| 31 | "default": "Email" |
| 32 | }, |
| 33 | "help": { |
| 34 | "type": "string" |
| 35 | }, |
| 36 | "inputmode": { |
| 37 | "type": "string" |
| 38 | }, |
| 39 | "max": { |
| 40 | "type": ["string", "number"] |
| 41 | }, |
| 42 | "maxlength": { |
| 43 | "type": "number" |
| 44 | }, |
| 45 | "name": { |
| 46 | "type": "string" |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 |