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 )
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 , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
fixed in https://josm.openstreetmap.de/wiki/TaggingPresets?action=diff&version=145