PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.12.8
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.12.8
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
← All changes | inc/blocks/dropdown/block.json +23 -9 0.0.13 → 2.12.8 View file →
@@ -1,8 +1,10 @@
1 1 {
2 + "$schema": "https://json.schemastore.org/block.json",
3 + "apiVersion": 3,
2 4 "name": "srfm/dropdown",
3 5 "title": "Dropdown",
4 - "description": "Displays a SureForm Dropdown Field",
6 + "description": "Displays a SureForms Dropdown Field",
5 7 "category": "sureforms",
6 8 "keywords": [ "select", "dropdown", "options", "field" ],
7 9 "textdomain": "sureforms",
8 10 "supports": {
@@ -28,14 +30,14 @@
28 30 "multiSelect": {
29 31 "type": "boolean",
30 32 "default": false
31 33 },
32 - "minValue": {
33 - "type": "number"
34 - },
35 - "maxValue": {
36 - "type": "number"
37 - },
34 + "minValue": {
35 + "type": "number"
36 + },
37 + "maxValue": {
38 + "type": "number"
39 + },
38 40 "searchable": {
39 41 "type": "boolean",
40 42 "default": true
41 43 },
@@ -43,9 +45,9 @@
43 45 "type": "array",
44 46 "default": [
45 47 { "label": "Option 1", "icon": "" },
46 48 { "label": "Option 2", "icon": "" }
47 - ]
49 + ]
48 50 },
49 51 "fieldWidth": {
50 52 "type": "number",
51 53 "default": 100
@@ -73,10 +75,22 @@
73 75 "isConditionalLogic":{
74 76 "type":"boolean",
75 77 "default":false
76 78 },
77 - "slug":{
79 + "slug":{
78 80 "type":"string",
79 81 "default":""
82 + },
83 + "showValues": {
84 + "type": "boolean",
85 + "default": false
86 + },
87 + "preselectedOptions": {
88 + "type": "array",
89 + "default": []
90 + },
91 + "dynamicDefaultValue": {
92 + "type": "string",
93 + "default": ""
80 94 }
81 95 }
82 96 }