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:
John Firebaugh
2014-04-15 16:30:21 -07:00
parent 7b958cc1eb
commit 95edc5ff03
4 changed files with 13 additions and 39 deletions
+3 -2
View File
@@ -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`