playbook_ui 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown813 → 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown817
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +2 -18
- data/lib/playbook/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e934f094ff96af7386a1b36322f9a8afb2837b484afeb5236241623c3f23819b
|
4
|
+
data.tar.gz: c541a68ec4864d565aef2252248f76cd4da8176f1e689e874085c9f0a027016f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56c46c82ce9f72ffa2afd97ca289af088edfc62839eff03f61a3b96906550c1db7e5e36ed36c2d1ce8972aa15cdf0786c3e7fa70e3bd526d5c62bf50c853c6cb
|
7
|
+
data.tar.gz: 39aa38adecc11a49ddbbcd754683b114a2476610c7088197a08aa6ffcea4a55c113ccf12dca861ce3f2c799c12903c2d0d9376a7a8379f3a4c3358f8b2b47d11
|
@@ -20,16 +20,8 @@
|
|
20
20
|
placeholder: object.placeholder,
|
21
21
|
required: object.required,
|
22
22
|
}) %>
|
23
|
-
|
24
|
-
|
25
|
-
id: "#{object.start_date}-#{object.picker_id}",
|
26
|
-
name: object.start_date,
|
27
|
-
}) %>
|
28
|
-
<%= pb_rails("text_input", props: {
|
29
|
-
id: "#{object.end_date}-#{object.picker_id}",
|
30
|
-
name: object.end_date,
|
31
|
-
}) %>
|
32
|
-
<% end %>
|
23
|
+
<input id="<%= "#{object.start_date}-#{object.picker_id}" %>" name="<%= "#{object.start_date}-#{object.picker_id}" %>">
|
24
|
+
<input id="<%= "#{object.end_date}-#{object.picker_id}" %>" name="<%= "#{object.end_date}-#{object.picker_id}" %>">
|
33
25
|
<% end %>
|
34
26
|
<% if !object.hide_icon %>
|
35
27
|
<div
|
@@ -70,14 +62,6 @@
|
|
70
62
|
</div>
|
71
63
|
|
72
64
|
<%= javascript_tag do %>
|
73
|
-
if (<%= object.selection_type == "quickpick" %>) {
|
74
|
-
const startDate = document.getElementById("<%= object.start_date %>-<%= object.picker_id %>")
|
75
|
-
if (startDate) startDate.style.display = "none"
|
76
|
-
|
77
|
-
const endDate = document.getElementById("<%= object.end_date %>-<%= object.picker_id %>")
|
78
|
-
if (endDate) endDate.style.display = "none"
|
79
|
-
}
|
80
|
-
|
81
65
|
window.addEventListener("DOMContentLoaded", () => {
|
82
66
|
datePickerHelper(<%= object.date_picker_config %>, "<%= object.scroll_container %>")
|
83
67
|
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.26.0.pre.alpha.
|
4
|
+
version: 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown817
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|