PluginProbe ʕ •ᴥ•ʔ
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.12.1
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.12.1
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 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 0.0.8 0.0.9 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.1.2 1.10.0 1.10.1 1.11.0 1.12.0 1.12.1 1.12.2 1.12.3 1.13.0 1.13.1 1.13.2 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5.0 1.5.1 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.8.0 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.0 2.5.2 2.6.0
sureforms / inc / blocks / dropdown / block.json
sureforms / inc / blocks / dropdown Last commit date
block.json 2 months ago block.php 1 year ago
block.json
97 lines
1 {
2 "$schema": "https://json.schemastore.org/block.json",
3 "apiVersion": 3,
4 "name": "srfm/dropdown",
5 "title": "Dropdown",
6 "description": "Displays a SureForms Dropdown Field",
7 "category": "sureforms",
8 "keywords": [ "select", "dropdown", "options", "field" ],
9 "textdomain": "sureforms",
10 "supports": {
11 "reusable": false,
12 "html": false
13 },
14 "example": {
15 "attributes": {
16 "preview": true
17 }
18 },
19 "attributes": {
20 "preview": {
21 "type": "boolean",
22 "default": false
23 },
24 "block_id": {
25 "type": "string"
26 },
27 "required": {
28 "type": "boolean"
29 },
30 "multiSelect": {
31 "type": "boolean",
32 "default": false
33 },
34 "minValue": {
35 "type": "number"
36 },
37 "maxValue": {
38 "type": "number"
39 },
40 "searchable": {
41 "type": "boolean",
42 "default": true
43 },
44 "options": {
45 "type": "array",
46 "default": [
47 { "label": "Option 1", "icon": "" },
48 { "label": "Option 2", "icon": "" }
49 ]
50 },
51 "fieldWidth": {
52 "type": "number",
53 "default": 100
54 },
55 "label": {
56 "default": "Dropdown",
57 "type": "string"
58 },
59 "help": {
60 "type": "string",
61 "default": ""
62 },
63 "errorMsg": {
64 "type": "string",
65 "default": ""
66 },
67 "formId": {
68 "type": "number",
69 "default": ""
70 },
71 "placeholder": {
72 "type": "string",
73 "default": "Select an option"
74 },
75 "isConditionalLogic":{
76 "type":"boolean",
77 "default":false
78 },
79 "slug":{
80 "type":"string",
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": ""
94 }
95 }
96 }
97