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
sureforms / inc / blocks / dropdown / block.json

block.json in SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz 2.12.8, at inc/blocks/dropdown/block.json

97 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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