| Server IP : 146.59.209.152 / Your IP : 216.73.216.152 Web Server : Apache System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : monpetu ( 144298) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/monpetu/www/ipprint/wp-content/plugins/sureforms/inc/blocks/dropdown/ |
Upload File : |
{
"$schema": "https://json.schemastore.org/block.json",
"apiVersion": 3,
"name": "srfm/dropdown",
"title": "Dropdown",
"description": "Displays a SureForms Dropdown Field",
"category": "sureforms",
"keywords": [ "select", "dropdown", "options", "field" ],
"textdomain": "sureforms",
"supports": {
"reusable": false,
"html": false
},
"example": {
"attributes": {
"preview": true
}
},
"attributes": {
"preview": {
"type": "boolean",
"default": false
},
"block_id": {
"type": "string"
},
"required": {
"type": "boolean"
},
"multiSelect": {
"type": "boolean",
"default": false
},
"minValue": {
"type": "number"
},
"maxValue": {
"type": "number"
},
"searchable": {
"type": "boolean",
"default": true
},
"options": {
"type": "array",
"default": [
{ "label": "Option 1", "icon": "" },
{ "label": "Option 2", "icon": "" }
]
},
"fieldWidth": {
"type": "number",
"default": 100
},
"label": {
"default": "Dropdown",
"type": "string"
},
"help": {
"type": "string",
"default": ""
},
"errorMsg": {
"type": "string",
"default": ""
},
"formId": {
"type": "number",
"default": ""
},
"placeholder": {
"type": "string",
"default": "Select an option"
},
"isConditionalLogic":{
"type":"boolean",
"default":false
},
"slug":{
"type":"string",
"default":""
},
"showValues": {
"type": "boolean",
"default": false
},
"preselectedOptions": {
"type": "array",
"default": []
},
"dynamicDefaultValue": {
"type": "string",
"default": ""
}
}
}