mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-08 19:24:49 +02:00
4261fefc6e
Some preset fields like the access-restriction field manage multiple tags at once (access=*, foot=*, bicycle=*, …). Then iD wasn't able to show inline help when clicking the ⓘ button. This introduces a new parameter for these kind of fields: `referenceKey` determines the tag key which should be used to search taginfo documentation for. Fixes #2222.
22 lines
420 B
JSON
22 lines
420 B
JSON
{
|
|
"type": "address",
|
|
"keys": [
|
|
"addr:housenumber",
|
|
"addr:street",
|
|
"addr:city",
|
|
"addr:postcode"
|
|
],
|
|
"referenceKey": "addr",
|
|
"icon": "address",
|
|
"universal": true,
|
|
"label": "Address",
|
|
"strings": {
|
|
"placeholders": {
|
|
"number": "123",
|
|
"street": "Street",
|
|
"city": "City",
|
|
"postcode": "Postal code"
|
|
}
|
|
}
|
|
}
|