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