PluginProbe
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management / 1.2.0
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management v1.2.0
1.6.0 1.5.1 1.5.0 1.4.0 1.3.0 trunk 0.0.1 1.0.0 1.1.0 1.1.1 1.1.2 1.2.0
suredonation / inc / blocks / dropdown / block.json

block.json in SureDonation – Donation Forms, Fundraising Campaigns & Donor Management 1.2.0, 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://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "suredonation/dropdown",
5 "title": "Dropdown",
6 "description": "Displays a SureDonation Dropdown (select) field",
7 "category": "suredonation",
8 "keywords": [ "dropdown", "select", "field", "choice", "option" ],
9 "textdomain": "suredonation",
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 "default": false
30 },
31 "multiSelect": {
32 "type": "boolean",
33 "default": false
34 },
35 "searchable": {
36 "type": "boolean",
37 "default": true
38 },
39 "options": {
40 "type": "array",
41 "default": [
42 { "label": "Option 1" },
43 { "label": "Option 2" },
44 { "label": "Option 3" }
45 ]
46 },
47 "preselectedOptions": {
48 "type": "array",
49 "default": []
50 },
51 "minSelection": {
52 "type": "number",
53 "default": 0
54 },
55 "maxSelection": {
56 "type": "number",
57 "default": 0
58 },
59 "fieldWidth": {
60 "type": "number",
61 "default": 100
62 },
63 "label": {
64 "type": "string",
65 "default": "Dropdown"
66 },
67 "help": {
68 "type": "string",
69 "default": ""
70 },
71 "placeholder": {
72 "type": "string",
73 "default": "Select an option"
74 },
75 "errorMsg": {
76 "type": "string",
77 "default": ""
78 },
79 "formId": {
80 "type": "number",
81 "default": 0
82 },
83 "slug": {
84 "type": "string",
85 "default": ""
86 },
87 "className": {
88 "type": "string",
89 "default": ""
90 },
91 "customClasses": {
92 "type": "string",
93 "default": ""
94 }
95 }
96 }
97