mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 06:58:32 +02:00
Fix up defaultcheck field type
It now works as determinate checkbox, where a checked state produces *=yes and an unchecked state produces no tag.
This commit is contained in:
@@ -63,9 +63,10 @@ In which `type` is the fields's type. Valid field types are
|
||||
* textarea
|
||||
* radio
|
||||
* combo
|
||||
* check
|
||||
* address
|
||||
* defaultcheck - a checkbox that can be yes, no, or null - not filled
|
||||
* check - a tri-state checkbox: yes, no, or unknown (no tag)
|
||||
* defaultcheck - a boolean checkbox where checked produces a `*=yes` tag and
|
||||
unchecked produces no tag
|
||||
|
||||
The `key` property names the OSM key that the field will edit. Alternatively, for
|
||||
compound fields like `address`, you can specify an array of keys in the `keys`
|
||||
|
||||
Reference in New Issue
Block a user