Dropdown-Eingang
Ein Dropdown-Feld mit auswählbaren Optionen. Das spezifische Attribut für Dropdown ist:
Elemente: Enthält anonyme JSO-Elemente, die die Dropdown-Optionen darstellen. Jedes Element enthält einen "Namen" und einen "Wert".
Beispiel
Minimal
"bluetooth_connect_mode": {
"title": "Connection Mode",
"inputType": "dropdown-input",
"value": "search",
"elements": [
{
"name": "Search and Find",
"value": "search"
},
{
"name": "Scanning Code",
"value": "scan"
}
],
"showIfComputed": true,
"info": "'Search and Find' will discover all available devices and filter it depending on the type. 'Code Scan' allows you to scan the MAC address or Name of the device."
}