block.json
32 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "surecart/phone", |
| 4 | "title": "Phone", |
| 5 | "description": "Display a phone number collection field.", |
| 6 | "category": "surecart", |
| 7 | "textdomain": "surecart", |
| 8 | "keywords": ["phone", "tel", "customer"], |
| 9 | "ancestor": ["surecart/form"], |
| 10 | "supports": { |
| 11 | "reusable": false, |
| 12 | "html": false |
| 13 | }, |
| 14 | "attributes": { |
| 15 | "required": { |
| 16 | "type": "boolean", |
| 17 | "default": false |
| 18 | }, |
| 19 | "label": { |
| 20 | "type": "string", |
| 21 | "default": "Phone" |
| 22 | }, |
| 23 | "help": { |
| 24 | "type": "string", |
| 25 | "default": "" |
| 26 | }, |
| 27 | "placeholder": { |
| 28 | "type": "string" |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 |