add minValue and placeholder for seats field

This commit is contained in:
Simon Bilsky-Rollins
2018-10-08 22:09:34 -04:00
parent 29765f961d
commit c886490f79
4 changed files with 8 additions and 3 deletions
+2
View File
@@ -1588,6 +1588,8 @@ en:
seats:
# seats=*
label: Seats
# seats field placeholder
placeholder: '2, 4, 6...'
second_hand:
# second_hand=*
label: Sells Used
+1 -1
View File
@@ -263,7 +263,7 @@
"seamark/type": {"key": "seamark:type", "type": "combo", "universal": true, "label": "Seamark"},
"seamark/wreck/category": {"key": "seamark:wreck:category", "type": "combo", "label": "Category"},
"seasonal": {"key": "seasonal", "type": "check", "label": "Seasonal"},
"seats": {"key": "seats", "type": "number", "label": "Seats"},
"seats": {"key": "seats", "type": "number", "minValue": 0, "label": "Seats", "placeholder": "2, 4, 6..."},
"second_hand": {"key": "second_hand", "type": "combo", "label": "Sells Used", "placeholder": "Yes, No, Only", "strings": {"options": {"yes": "Yes", "no": "No", "only": "Only"}}},
"service_rail": {"key": "service", "type": "combo", "label": "Service Type", "strings": {"options": {"spur": "Spur", "yard": "Yard", "siding": "Siding", "crossover": "Crossover"}}},
"service_times": {"key": "service_times", "type": "text", "label": "Service Times"},
+3 -1
View File
@@ -1,5 +1,7 @@
{
"key": "seats",
"type": "number",
"label": "Seats"
"minValue": 0,
"label": "Seats",
"placeholder": "2, 4, 6..."
}
+2 -1
View File
@@ -2770,7 +2770,8 @@
"label": "Seasonal"
},
"seats": {
"label": "Seats"
"label": "Seats",
"placeholder": "2, 4, 6..."
},
"second_hand": {
"label": "Sells Used",