button-group.schema.json
7 months ago
checkbox.schema.json
7 months ago
nav-menu.schema.json
7 months ago
radio.schema.json
7 months ago
select.schema.json
7 months ago
true-false.schema.json
7 months ago
select.schema.json
37 lines
| 1 | { |
| 2 | "title": "SCF Select Field Fragment", |
| 3 | "description": "Type-specific properties for select dropdown fields", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "type": { |
| 7 | "enum": [ "select" ] |
| 8 | }, |
| 9 | "choices": { "$ref": "#/definitions/choices" }, |
| 10 | "default_value": { "$ref": "#/definitions/default_value_multi" }, |
| 11 | "return_format": { "$ref": "#/definitions/return_format_choice" }, |
| 12 | "multiple": { "$ref": "#/definitions/multiple" }, |
| 13 | "allow_null": { "$ref": "#/definitions/allow_null" }, |
| 14 | "placeholder": { "$ref": "#/definitions/placeholder" }, |
| 15 | "ui": { |
| 16 | "type": "integer", |
| 17 | "default": 0, |
| 18 | "description": "Use enhanced Select2 UI (1 for yes, 0 for no)" |
| 19 | }, |
| 20 | "ajax": { |
| 21 | "type": "integer", |
| 22 | "default": 0, |
| 23 | "description": "Use AJAX to lazy load choices (1 for yes, 0 for no)" |
| 24 | }, |
| 25 | "create_options": { |
| 26 | "type": "integer", |
| 27 | "default": 0, |
| 28 | "description": "Allow new options to be created while editing (1 for yes, 0 for no)" |
| 29 | }, |
| 30 | "save_options": { |
| 31 | "type": "integer", |
| 32 | "default": 0, |
| 33 | "description": "Save newly created options to the field choices (1 for yes, 0 for no)" |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 |