Opened 7 years ago

Closed 7 years ago

#16580 closed defect (fixed)

Preset documentation for <check> elements — at Version 2

Reported by: Simon Poole Owned by: team
Priority: normal Milestone:
Component: Wiki content Version:
Keywords: Cc:

Description (last modified by Klumbumbus)

The wiki says the following on the default values (explicitly set and implied):

default="default_value"

An explicitly declared default value for the item. This value is only applied through a preset when the object the preset is applied to has zero keys. If a value for default is not given, different implied default values apply depending upon the type:

<check> (whether a checkbox is ticked on or off by default): implied default is "off"
<text>, <combo>, <multiselect>: implied default is ""

However the actual JOSM behaviour seems to be to assume undefined / "" for <check> elements and not the default value for the "off" state ("no").

Change History (2)

comment:1 by Don-vip, 7 years ago

Description: modified (diff)

comment:2 by Klumbumbus, 7 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.