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/multichoice/block.json +31 -17 0.0.13 → 2.12.8 View file →
@@ -1,11 +1,12 @@
1 1 {
2 - "apiVersion": 2,
2 + "$schema": "https://json.schemastore.org/block.json",
3 + "apiVersion": 3,
3 4 "name": "srfm/multi-choice",
4 5 "title": "Multiple Choice",
5 - "description": "Displays a SureForm Multi-Choice Field",
6 + "description": "Displays a SureForms Multi-Choice Field",
6 7 "category": "sureforms",
7 - "keywords": [ "multi-choice", "quiz", "multi", "sureforms" ],
8 + "keywords": [ "multi-choice", "quiz", "multi", "sureforms", "radio" ],
8 9 "textdomain": "sureforms",
9 10 "supports": {
10 11 "reusable": false,
11 12 "html": false
@@ -28,17 +29,18 @@
28 29 },
29 30 "singleSelection": {
30 31 "type": "boolean"
31 32 },
32 - "minValue": {
33 - "type": "number"
34 - },
35 - "maxValue": {
36 - "type": "number"
37 - },
38 - "verticalLayout": {
39 - "type": "boolean"
33 + "minValue": {
34 + "type": "number"
40 35 },
36 + "maxValue": {
37 + "type": "number"
38 + },
39 + "verticalLayout": {
40 + "type": "boolean",
41 + "default": false
42 + },
41 43 "options": {
42 44 "type": "array",
43 45 "default": [
44 46 {
@@ -43,9 +45,9 @@
43 45 "default": [
44 46 {
45 47 "optionTitle": "Option 1",
46 48 "icon": "",
47 - "image": ""
49 + "image": ""
48 50 }
49 51 ]
50 52 },
51 53 "fieldWidth": {
@@ -80,14 +82,26 @@
80 82 "isConditionalLogic":{
81 83 "type":"boolean",
82 84 "default":false
83 85 },
84 - "slug":{
86 + "slug":{
85 87 "type":"string",
86 88 "default":""
87 89 },
88 - "optionType": {
89 - "type": "string",
90 - "default": "icon"
91 - }
90 + "optionType": {
91 + "type": "string",
92 + "default": "icon"
93 + },
94 + "showValues": {
95 + "type": "boolean",
96 + "default": false
97 + },
98 + "preselectedOptions": {
99 + "type": "array",
100 + "default": []
101 + },
102 + "dynamicDefaultValue": {
103 + "type": "string",
104 + "default": ""
105 + }
92 106 }
93 107 }