| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "firebox/hidden", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Hidden Field", |
| 7 |
"description": "Add a hidden field into your form.", |
| 8 |
"category": "firebox", |
| 9 |
"parent": [ |
| 10 |
"firebox/form", |
| 11 |
"firebox/column", |
| 12 |
"firebox/row", |
| 13 |
"core/group" |
| 14 |
], |
| 15 |
"keywords": [ |
| 16 |
"hidden", |
| 17 |
"hidden field" |
| 18 |
], |
| 19 |
"attributes": { |
| 20 |
"uniqueId": { |
| 21 |
"type": "string", |
| 22 |
"default": "" |
| 23 |
}, |
| 24 |
"fieldLabelRequiredFieldIndication": { |
| 25 |
"type": "boolean", |
| 26 |
"default": false |
| 27 |
}, |
| 28 |
"fieldName": { |
| 29 |
"type": "string", |
| 30 |
"default": "hidden" |
| 31 |
}, |
| 32 |
"fieldLabel": { |
| 33 |
"type": "string", |
| 34 |
"default": "" |
| 35 |
}, |
| 36 |
"helpText": { |
| 37 |
"type": "string", |
| 38 |
"default": "" |
| 39 |
}, |
| 40 |
"required": { |
| 41 |
"type": "boolean", |
| 42 |
"default": false |
| 43 |
}, |
| 44 |
"width": { |
| 45 |
"type": "string", |
| 46 |
"default": "100%" |
| 47 |
}, |
| 48 |
"defaultValue": { |
| 49 |
"type": "string", |
| 50 |
"default": "" |
| 51 |
}, |
| 52 |
"placeholder": { |
| 53 |
"type": "string", |
| 54 |
"default": "" |
| 55 |
}, |
| 56 |
"cssClass": { |
| 57 |
"type": "string", |
| 58 |
"default": "" |
| 59 |
}, |
| 60 |
"inputCssClass": { |
| 61 |
"type": "string", |
| 62 |
"default": "" |
| 63 |
}, |
| 64 |
"hideLabel": { |
| 65 |
"type": "boolean", |
| 66 |
"default": false |
| 67 |
}, |
| 68 |
"disableBrowserAutocomplete": { |
| 69 |
"type": "boolean", |
| 70 |
"default": false |
| 71 |
} |
| 72 |
}, |
| 73 |
"editorScript": "file:./index.js" |
| 74 |
} |