block.json
89 lines
| 1 | { |
| 2 | "$schema": "https://json.schemastore.org/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "srfm/email", |
| 5 | "title": "Email", |
| 6 | "description": "Displays a SureForms Email Field", |
| 7 | "category": "sureforms", |
| 8 | "keywords": [ "email", "mail" ], |
| 9 | "textdomain": "sureforms", |
| 10 | "supports": { |
| 11 | "reusable": false, |
| 12 | "html": false |
| 13 | }, |
| 14 | "example": { |
| 15 | "attributes": { |
| 16 | "preview": true |
| 17 | } |
| 18 | }, |
| 19 | "attributes": { |
| 20 | "preview": { |
| 21 | "type": "boolean", |
| 22 | "default": false |
| 23 | }, |
| 24 | "block_id": { |
| 25 | "type": "string" |
| 26 | }, |
| 27 | "defaultValue": { |
| 28 | "type": "string", |
| 29 | "default": "" |
| 30 | }, |
| 31 | "required": { |
| 32 | "type": "boolean", |
| 33 | "default": false |
| 34 | }, |
| 35 | "placeholder": { |
| 36 | "type": "string", |
| 37 | "default": "" |
| 38 | }, |
| 39 | "fieldWidth": { |
| 40 | "type": "number", |
| 41 | "default": 100 |
| 42 | }, |
| 43 | "label": { |
| 44 | "type": "string", |
| 45 | "default": "Email" |
| 46 | }, |
| 47 | "help": { |
| 48 | "type": "string", |
| 49 | "default": "" |
| 50 | }, |
| 51 | "isUnique": { |
| 52 | "type": "boolean", |
| 53 | "default": false |
| 54 | }, |
| 55 | "duplicateMsg": { |
| 56 | "type": "string", |
| 57 | "default": "" |
| 58 | }, |
| 59 | "errorMsg": { |
| 60 | "type": "string", |
| 61 | "default": "" |
| 62 | }, |
| 63 | "confirmLabel": { |
| 64 | "type": "string", |
| 65 | "default": "Confirm Email" |
| 66 | }, |
| 67 | "isConfirmEmail": { |
| 68 | "type": "boolean", |
| 69 | "default": false |
| 70 | }, |
| 71 | "formId": { |
| 72 | "type": "number", |
| 73 | "default": "" |
| 74 | }, |
| 75 | "isConditionalLogic":{ |
| 76 | "type":"boolean", |
| 77 | "default":false |
| 78 | }, |
| 79 | "slug":{ |
| 80 | "type":"string", |
| 81 | "default":"" |
| 82 | }, |
| 83 | "readOnly": { |
| 84 | "type": "boolean", |
| 85 | "default": false |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 |