mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
Add reverser button to onewayCheck field
This commit is contained in:
@@ -320,6 +320,7 @@ en:
|
||||
check:
|
||||
"yes": "Yes"
|
||||
"no": "No"
|
||||
reverser: "Change Direction"
|
||||
add: Add
|
||||
none: None
|
||||
node: Node
|
||||
|
||||
@@ -115,6 +115,7 @@ The complete JSON schema for fields can be found in [`data/presets/schema/field.
|
||||
**Checkboxes**
|
||||
* `check` - 3-state checkbox: `yes`, `no`, unknown (no tag)
|
||||
* `defaultCheck` - 2-state checkbox where checked produces `yes` and unchecked produces no tag
|
||||
* `onewayCheck` - 3-state checkbox for `oneway` fields, with extra button for direction switching
|
||||
|
||||
**Radio Buttons**
|
||||
* `radio` - Multiple choice radio button field
|
||||
|
||||
@@ -1102,7 +1102,7 @@
|
||||
},
|
||||
"oneway_yes": {
|
||||
"key": "oneway",
|
||||
"type": "check",
|
||||
"type": "onewayCheck",
|
||||
"label": "One Way",
|
||||
"strings": {
|
||||
"options": {
|
||||
@@ -1114,7 +1114,7 @@
|
||||
},
|
||||
"oneway": {
|
||||
"key": "oneway",
|
||||
"type": "check",
|
||||
"type": "onewayCheck",
|
||||
"label": "One Way",
|
||||
"strings": {
|
||||
"options": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"key": "oneway",
|
||||
"type": "check",
|
||||
"type": "onewayCheck",
|
||||
"label": "One Way",
|
||||
"strings": {
|
||||
"options": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"key": "oneway",
|
||||
"type": "check",
|
||||
"type": "onewayCheck",
|
||||
"label": "One Way",
|
||||
"strings": {
|
||||
"options": {
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
"multiCombo",
|
||||
"networkCombo",
|
||||
"number",
|
||||
"onewayCheck",
|
||||
"radio",
|
||||
"restrictions",
|
||||
"tel",
|
||||
|
||||
Reference in New Issue
Block a user