Modify

Opened 7 years ago

Closed 7 years ago

#16580 closed defect (fixed)

Preset documentation for <check> elements

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").

Attachments (0)

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.