Files
iD/data/presets/fields/address.json
T
Martin Raifer 4261fefc6e Fix inline tag help for fields that handle multiple tags
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.
2014-05-11 21:02:25 +02:00

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"
}
}
}