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 +24 -4 0.0.11 → 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,8 +30,14 @@
28 30 "multiSelect": {
29 31 "type": "boolean",
30 32 "default": false
31 33 },
34 + "minValue": {
35 + "type": "number"
36 + },
37 + "maxValue": {
38 + "type": "number"
39 + },
32 40 "searchable": {
33 41 "type": "boolean",
34 42 "default": true
35 43 },
@@ -34,12 +42,12 @@
34 42 "default": true
35 43 },
36 44 "options": {
37 45 "type": "array",
38 - "default": [
46 + "default": [
39 47 { "label": "Option 1", "icon": "" },
40 48 { "label": "Option 2", "icon": "" }
41 - ]
49 + ]
42 50 },
43 51 "fieldWidth": {
44 52 "type": "number",
45 53 "default": 100
@@ -67,10 +75,22 @@
67 75 "isConditionalLogic":{
68 76 "type":"boolean",
69 77 "default":false
70 78 },
71 - "slug":{
79 + "slug":{
72 80 "type":"string",
73 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": ""
74 94 }
75 95 }
76 96 }