Merge pull request #5384 from quincylvania/generator-output-electricity-typecombo

Converts the generator/output/electricity field from text to typeCombo
This commit is contained in:
Bryan Housel
2018-10-08 22:26:14 -04:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -114,7 +114,7 @@
"gauge": {"key": "gauge", "type": "combo", "label": "Gauge"},
"gender": {"type": "radio", "keys": ["male", "female", "unisex"], "label": "Gender", "placeholder": "Unknown", "strings": {"options": {"male": "Male", "female": "Female", "unisex": "Unisex"}}},
"generator/method": {"key": "generator:method", "type": "combo", "label": "Method"},
"generator/output/electricity": {"key": "generator:output:electricity", "type": "text", "label": "Power Output", "placeholder": "50 MW, 100 MW, 200 MW..."},
"generator/output/electricity": {"key": "generator:output:electricity", "type": "typeCombo", "label": "Power Output", "placeholder": "50 MW, 100 MW, 200 MW...", "snake_case": false},
"generator/source": {"key": "generator:source", "type": "combo", "label": "Source"},
"generator/type": {"key": "generator:type", "type": "combo", "label": "Type"},
"government": {"key": "government", "type": "typeCombo", "label": "Type"},
@@ -1,6 +1,7 @@
{
"key": "generator:output:electricity",
"type": "text",
"type": "typeCombo",
"label": "Power Output",
"placeholder": "50 MW, 100 MW, 200 MW..."
"placeholder": "50 MW, 100 MW, 200 MW...",
"snake_case": false
}