| @@ -1,8 +1,10 @@ | ||
| 1 | 1 | { |
| 2 | + "$schema": "https://json.schemastore.org/block.json", | |
| 3 | + "apiVersion": 3, | |
| 2 | 4 | "name": "srfm/textarea", |
| 3 | 5 | "title": "Textarea", |
| 4 | - "description": "Displays a SureForm Textarea Field", | |
| 6 | + "description": "Displays a SureForms Textarea Field", | |
| 5 | 7 | "category": "sureforms", |
| 6 | 8 | "keywords": [ "textarea", "input", "custom", "field" ], |
| 7 | 9 | "textdomain": "sureforms", |
| 8 | 10 | "supports": { |
| @@ -43,8 +45,12 @@ | ||
| 43 | 45 | "help": { |
| 44 | 46 | "type": "string", |
| 45 | 47 | "default": "" |
| 46 | 48 | }, |
| 49 | + "minLength": { | |
| 50 | + "type": "number", | |
| 51 | + "default": "" | |
| 52 | + }, | |
| 47 | 53 | "maxLength": { |
| 48 | 54 | "type": "number", |
| 49 | 55 | "default": "" |
| 50 | 56 | }, |
| @@ -63,10 +69,18 @@ | ||
| 63 | 69 | "isConditionalLogic":{ |
| 64 | 70 | "type":"boolean", |
| 65 | 71 | "default":false |
| 66 | 72 | }, |
| 67 | - "slug":{ | |
| 73 | + "slug":{ | |
| 68 | 74 | "type":"string", |
| 69 | 75 | "default":"" |
| 76 | + }, | |
| 77 | + "isRichText": { | |
| 78 | + "type": "boolean", | |
| 79 | + "default": false | |
| 80 | + }, | |
| 81 | + "readOnly": { | |
| 82 | + "type": "boolean", | |
| 83 | + "default": false | |
| 70 | 84 | } |
| 71 | 85 | } |
| 72 | 86 | } |