playbook_ui 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown813 → 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown815
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: 3c7cf0818b185948390a703b3ec067d01b137ba056fd2271c18ef8e6fcc28717
|
4
|
+
data.tar.gz: a8cb5bb72f10cac1544bed1a62df3f507676e1fdb5c09a47b8178cb49dbb2232
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df28a1c600ef1902f10ee9f05869828af8ab37dbda6a7bb9679019aa7f0024d13c3565f90011120cce3ddd2fd2b7f5d33e6344354f81a5c99c8a99406b3e5239
|
7
|
+
data.tar.gz: 7d0a54da2bfb9baa19ea90bb7e1e4666329d9a277f7ce9d8c7a616e35e75f991778c6dde56a9e74a9cecca5a296791fd87a0315314dea4a6bae117344253ce25
|
@@ -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 type="hidden" id="<%= "#{object.start_date}-#{object.picker_id}" %>" name="<%= "#{object.start_date}-#{object.picker_id}" %>">
|
24
|
+
<input type="hidden" 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.PLAY603datepickerquickpickinputpresetdropdown815
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|