Add string labels for combo fields with limited suggestions but allowed custom values

This commit is contained in:
Quincy Morgan 2020-12-08 11:42:18 -05:00
parent 278b0441af
commit 3c3984529e
8 changed files with 134 additions and 35 deletions

View file

@ -2,7 +2,16 @@
"key": "access",
"type": "combo",
"label": "Allowed Access",
"options": ["yes", "permissive", "private", "customers", "permit", "no"],
"strings": {
"options": {
"yes": "Public",
"private": "Private",
"permissive": "Permissive",
"customers": "Customers Only",
"permit": "By Permit Only",
"no": "None"
}
},
"autoSuggestions" : false,
"terms": [
"permitted",

View file

@ -2,6 +2,13 @@
"key": "display",
"type": "combo",
"label": "Display",
"options": ["analog", "digital", "sundial", "unorthodox"],
"strings": {
"options": {
"analog": "Analog",
"digital": "Digital",
"sundial": "Sundial",
"unorthodox": "Unorthodox"
}
},
"autoSuggestions" : false
}

View file

@ -2,12 +2,14 @@
"key": "service",
"type": "combo",
"label": "Type",
"options": [
"driveway",
"parking_aisle",
"alley",
"drive-through",
"emergency_access"
],
"strings": {
"options": {
"driveway": "Driveway",
"parking_aisle": "Parking Aisle",
"alley": "Alley",
"drive-through": "Drive-Through",
"emergency_access": "Emergency Access"
}
},
"autoSuggestions" : false
}

View file

@ -6,13 +6,15 @@
"label": "Sources",
"snake_case": false,
"caseSensitive": true,
"options": [
"survey",
"local knowledge",
"gps",
"aerial imagery",
"streetlevel imagery"
],
"strings": {
"options": {
"survey": "Survey",
"local knowledge": "Local Knowledge",
"aerial imagery": "Aerial Imagery",
"gps": "GPS",
"streetlevel imagery": "Street-Level Photos"
}
},
"autoSuggestions" : false,
"terms": [
"reference"

View file

@ -2,12 +2,14 @@
"key": "sport",
"type": "semiCombo",
"label": "Sports",
"options": [
"ice_skating",
"ice_hockey",
"multi",
"curling",
"ice_stock"
],
"strings": {
"options": {
"ice_skating": "Ice Skating",
"ice_hockey": "Ice Hockey",
"curling": "Curling",
"ice_stock": "Ice Stock",
"multi": "Multiple"
}
},
"autoSuggestions" : false
}

View file

@ -2,10 +2,12 @@
"key": "sport",
"type": "semiCombo",
"label": "Sports",
"options": [
"motor",
"karting",
"motocross"
],
"strings": {
"options": {
"motor": "Motorsport",
"karting": "Karting",
"motocross": "Motocross"
}
},
"autoSuggestions" : false
}

View file

@ -2,12 +2,14 @@
"key": "sport",
"type": "semiCombo",
"label": "Sports",
"options": [
"bmx",
"cycling",
"dog_racing",
"horse_racing",
"running"
],
"strings": {
"options": {
"running": "Running",
"cycling": "Cycling",
"bmx": "BMX",
"horse_racing": "Horse Racing",
"dog_racing": "Dog Racing"
}
},
"autoSuggestions" : false
}