#119 #121 - Choice field enhancements

This commit is contained in:
Elio Struyf
2021-09-30 09:34:00 +02:00
parent f5e7526fae
commit 9eaf94de7a
8 changed files with 236 additions and 25 deletions

View File

@@ -268,12 +268,29 @@
"type": "array",
"description": "Define your choices",
"items": {
"type": "string"
"type": [
"object",
"string"
],
"properties": {
"id": {
"type": ["null", "string"],
"description": "The choice ID"
},
"title": {
"type": "string",
"description": "The choice title"
}
}
}
},
"single": {
"type": "boolean",
"description": "Is a single line field"
},
"multiSelect": {
"type": "boolean",
"description": "Do you allow to select multiple values?"
}
},
"additionalProperties": false,