Changeset 7118 in josm for trunk/data/defaultpresets.xml


Ignore:
Timestamp:
2014-05-13T13:39:24+02:00 (6 years ago)
Author:
simon04
Message:

fix #9901 - Presets: add support for alternative_autocomplete_keys, esp. auto-complete addr:street also from name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r7116 r7118  
    5959  match: none/key/key!/keyvalue (default is "none", see below for more information)
    6060  length: length of input box (number of characters allowed)
     61  alternative_autocomplete_keys: comma separated list of alternative keys to use for autocompletion
    6162
    6263combo: combo box, with multiple choices and possible to enter free form text
     
    66826683            <text key="addr:housenumber" text="House number" match="key" auto_increment="-2,-1,+1,+2" />
    66836684            <optional>
    6684                 <text key="addr:housename" text="House name" match="key" />
    6685                 <text key="addr:street" text="Street name" use_last_as_default="force" match="key" />
     6685                <text key="addr:housename" text="House name" match="key" alternative_autocomplete_keys="name" />
     6686                <text key="addr:street" text="Street name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
    66866687                <text key="addr:city" text="City name" use_last_as_default="force" match="key" />
    66876688                <text key="addr:postcode" text="Post code" use_last_as_default="force" match="key" />
Note: See TracChangeset for help on using the changeset viewer.