glib-web 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c82637d3abaeed47ee4c35ce7a08b674fba4705abc53beabee9ebe5d5e1f4ee4
4
- data.tar.gz: 47c7ac6b522c040355073fc0a8ca768e8ac9b534bbc1b54e0036bd63f28235d4
3
+ metadata.gz: 2c631e1defd50d5dacfeac09aefa556badcbb5a92bb092178371c48cc543d28c
4
+ data.tar.gz: 2d3016ccd5b075ad1dab8e4a53659d85b2ea6731cd6f1bd6ef708b6973ffbac5
5
5
  SHA512:
6
- metadata.gz: ed3ea72a5e265d3be419675c4261f0034eff04453e609bb13a9ad2a96807cb6322489cc435f1d570a67b3bf811dc6d75d7aae0758b4309ad81efe470bc051ce6
7
- data.tar.gz: f6c45e4a2aa25a77344a87614b216eb5a6c0c6e69dd3bbcb8e16cfa9f5644d4eccf413c5a76dd60a8ec418997e55e1c9826cdf2da02b9224dee3a75e2238ee93
6
+ metadata.gz: 9a9567f2f40296035cdb869bd35534648a54b1af2eea8012d9fff2132fb25d31024dc1c056da42bb2c6f353d38868a3ab920ef1e6d9f3207b6b714b3bd9eeefb
7
+ data.tar.gz: f7dbf6ca9ba85049f2c71cfcecb8ea28ee25f64cef0ff7681905bc745a7ccd9b9cf55f82cdc19ce57dda32f7af4e038e262c20ebe4795bd91b585f0499b94d36
@@ -37,7 +37,7 @@ page.form url: json_ui_garage_url(path: 'forms/generic_post'), method: 'post', p
37
37
 
38
38
  form.spacer height: 20
39
39
  form.h1 text: 'Check'
40
- form.fields_check name: 'user[check1]', checkValue: 'on', label: 'Show text', value: 'on'
40
+ form.fields_check name: 'user[check1]', checkValue: 'on', uncheckValue: 'off', label: 'Show text', value: 'on'
41
41
  form.spacer height: 10
42
42
  form.label text: 'Checked', showIf: {
43
43
  "==": [
@@ -49,22 +49,26 @@ page.form url: json_ui_garage_url(path: 'forms/generic_post'), method: 'post', p
49
49
  }
50
50
 
51
51
  form.spacer height: 6
52
- form.fields_check name: 'user[check1]', checkValue: 'on', label: 'Show text'
52
+ form.fields_check name: 'user[check2]', checkValue: 'on', label: 'Show text', uncheckValue: 'off'
53
53
  form.spacer height: 10
54
- form.label text: 'Checked', showIf: {
55
- "==": [
54
+ form.label text: 'Both Checked', showIf: {
55
+ "and": [
56
56
  {
57
- "var": 'user[check1]'
57
+ "==": [
58
+ {
59
+ "var": 'user[check1]'
60
+ },
61
+ 'on'
62
+ ],
58
63
  },
59
- 'on'
60
- ]
61
- }
62
- form.label text: 'Checked', showIf: {
63
- "!=": [
64
64
  {
65
- "var": 'user[check1]'
66
- },
67
- 'on'
65
+ "==": [
66
+ {
67
+ "var": 'user[check2]'
68
+ },
69
+ 'on'
70
+ ]
71
+ }
68
72
  ]
69
73
  }
70
74
 
@@ -133,12 +137,12 @@ page.form url: json_ui_garage_url(path: 'forms/generic_post'), method: 'post', p
133
137
  form.h1 text: 'Show/hide another field'
134
138
  form.label text: ''
135
139
  form.spacer height: 10
136
- form.fields_check name: 'user[check2]', checkValue: 'on', label: 'Show field'
140
+ form.fields_check name: 'user[check3]', checkValue: 'on', label: 'Show field'
137
141
  form.spacer height: 10
138
142
  form.fields_text width: 'matchParent', label: 'Comment (optional)', name: 'user[comment]', value: 'This field should be submitted even when it is hidden', showIf: {
139
143
  "==": [
140
144
  {
141
- "var": 'user[check2]'
145
+ "var": 'user[check3]'
142
146
  },
143
147
  'on'
144
148
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''