PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 0.0.12
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v0.0.12
2.12.8 2.12.7 2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 All 98 releases
sureforms / inc / blocks / dropdown / block.json

block.json in SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz 0.0.12, at inc/blocks/dropdown/block.json

77 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "name": "srfm/dropdown",
3 "title": "Dropdown",
4 "description": "Displays a SureForm Dropdown Field",
5 "category": "sureforms",
6 "keywords": [ "select", "dropdown", "options", "field" ],
7 "textdomain": "sureforms",
8 "supports": {
9 "reusable": false,
10 "html": false
11 },
12 "example": {
13 "attributes": {
14 "preview": true
15 }
16 },
17 "attributes": {
18 "preview": {
19 "type": "boolean",
20 "default": false
21 },
22 "block_id": {
23 "type": "string"
24 },
25 "required": {
26 "type": "boolean"
27 },
28 "multiSelect": {
29 "type": "boolean",
30 "default": false
31 },
32 "searchable": {
33 "type": "boolean",
34 "default": true
35 },
36 "options": {
37 "type": "array",
38 "default": [
39 { "label": "Option 1", "icon": "" },
40 { "label": "Option 2", "icon": "" }
41 ]
42 },
43 "fieldWidth": {
44 "type": "number",
45 "default": 100
46 },
47 "label": {
48 "default": "Dropdown",
49 "type": "string"
50 },
51 "help": {
52 "type": "string",
53 "default": ""
54 },
55 "errorMsg": {
56 "type": "string",
57 "default": ""
58 },
59 "formId": {
60 "type": "number",
61 "default": ""
62 },
63 "placeholder": {
64 "type": "string",
65 "default": "Select an option"
66 },
67 "isConditionalLogic":{
68 "type":"boolean",
69 "default":false
70 },
71 "slug":{
72 "type":"string",
73 "default":""
74 }
75 }
76 }
77