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 -11 0.0.10 → 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,11 +29,18 @@
28 29 },
29 30 "singleSelection": {
30 31 "type": "boolean"
31 32 },
32 - "verticalLayout": {
33 - "type": "boolean"
33 + "minValue": {
34 + "type": "number"
34 35 },
36 + "maxValue": {
37 + "type": "number"
38 + },
39 + "verticalLayout": {
40 + "type": "boolean",
41 + "default": false
42 + },
35 43 "options": {
36 44 "type": "array",
37 45 "default": [
38 46 {
@@ -37,9 +45,9 @@
37 45 "default": [
38 46 {
39 47 "optionTitle": "Option 1",
40 48 "icon": "",
41 - "image": ""
49 + "image": ""
42 50 }
43 51 ]
44 52 },
45 53 "fieldWidth": {
@@ -74,14 +82,26 @@
74 82 "isConditionalLogic":{
75 83 "type":"boolean",
76 84 "default":false
77 85 },
78 - "slug":{
86 + "slug":{
79 87 "type":"string",
80 88 "default":""
81 89 },
82 - "optionType": {
83 - "type": "string",
84 - "default": "icon"
85 - }
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 + }
86 106 }
87 107 }