PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 0.0.13
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v0.0.13
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 0.0.2 All 97 releases
sureforms / inc / blocks / dropdown / block.json

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

83 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "name": "srfm/dropdown",
3 "title": "Dropdown",
4 "description": "Displays a SureForm Dropdown Field",
5 "category": "sureforms",
6 "keywords": [ "select", "dropdown", "options", "field" ],
7 "textdomain": "sureforms",
8 "supports": {
9 "reusable": false,
10 "html": false
11 },
12 "example": {
13 "attributes": {
14 "preview": true
15 }
16 },
17 "attributes": {
18 "preview": {
19 "type": "boolean",
20 "default": false
21 },
22 "block_id": {
23 "type": "string"
24 },
25 "required": {
26 "type": "boolean"
27 },
28 "multiSelect": {
29 "type": "boolean",
30 "default": false
31 },
32 "minValue": {
33 "type": "number"
34 },
35 "maxValue": {
36 "type": "number"
37 },
38 "searchable": {
39 "type": "boolean",
40 "default": true
41 },
42 "options": {
43 "type": "array",
44 "default": [
45 { "label": "Option 1", "icon": "" },
46 { "label": "Option 2", "icon": "" }
47 ]
48 },
49 "fieldWidth": {
50 "type": "number",
51 "default": 100
52 },
53 "label": {
54 "default": "Dropdown",
55 "type": "string"
56 },
57 "help": {
58 "type": "string",
59 "default": ""
60 },
61 "errorMsg": {
62 "type": "string",
63 "default": ""
64 },
65 "formId": {
66 "type": "number",
67 "default": ""
68 },
69 "placeholder": {
70 "type": "string",
71 "default": "Select an option"
72 },
73 "isConditionalLogic":{
74 "type":"boolean",
75 "default":false
76 },
77 "slug":{
78 "type":"string",
79 "default":""
80 }
81 }
82 }
83