Add reverser button to onewayCheck field

This commit is contained in:
Bryan Housel
2017-03-03 11:58:02 -05:00
parent 6a85e5483c
commit 74155a9286
10 changed files with 80 additions and 28 deletions
+1
View File
@@ -320,6 +320,7 @@ en:
check:
"yes": "Yes"
"no": "No"
reverser: "Change Direction"
add: Add
none: None
node: Node
+1
View File
@@ -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
+2 -2
View File
@@ -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 -1
View File
@@ -1,6 +1,6 @@
{
"key": "oneway",
"type": "check",
"type": "onewayCheck",
"label": "One Way",
"strings": {
"options": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"key": "oneway",
"type": "check",
"type": "onewayCheck",
"label": "One Way",
"strings": {
"options": {
+1
View File
@@ -61,6 +61,7 @@
"multiCombo",
"networkCombo",
"number",
"onewayCheck",
"radio",
"restrictions",
"tel",