mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
add minValue and placeholder for seats field
This commit is contained in:
@@ -1588,6 +1588,8 @@ en:
|
||||
seats:
|
||||
# seats=*
|
||||
label: Seats
|
||||
# seats field placeholder
|
||||
placeholder: '2, 4, 6...'
|
||||
second_hand:
|
||||
# second_hand=*
|
||||
label: Sells Used
|
||||
|
||||
@@ -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"},
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{
|
||||
"key": "seats",
|
||||
"type": "number",
|
||||
"label": "Seats"
|
||||
"minValue": 0,
|
||||
"label": "Seats",
|
||||
"placeholder": "2, 4, 6..."
|
||||
}
|
||||
|
||||
Vendored
+2
-1
@@ -2770,7 +2770,8 @@
|
||||
"label": "Seasonal"
|
||||
},
|
||||
"seats": {
|
||||
"label": "Seats"
|
||||
"label": "Seats",
|
||||
"placeholder": "2, 4, 6..."
|
||||
},
|
||||
"second_hand": {
|
||||
"label": "Sells Used",
|
||||
|
||||
Reference in New Issue
Block a user