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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c77d2b51f74b4586420f4cab725e1cb69ff1aebdf74f9ee19b5b21375da5416
4
- data.tar.gz: c6b819ebf5bd7db6bb50ce1d50b919dacfb01daba64a62620473ede76bdfd698
3
+ metadata.gz: e934f094ff96af7386a1b36322f9a8afb2837b484afeb5236241623c3f23819b
4
+ data.tar.gz: c541a68ec4864d565aef2252248f76cd4da8176f1e689e874085c9f0a027016f
5
5
  SHA512:
6
- metadata.gz: d3e9cc9de81ee79ba84c2ccb367f9715d5a1840e9dbde79965b8ec2f7c213bf40e6595ab367bc1cfe3609803197181aea088a6dd97916559c0a2c348ecd5a443
7
- data.tar.gz: e4c60566d522fb363c5da6615ee40ad467a1d86041360b3d5b4390a613dfdfd29c13678d31659fad8e4e577bfe6086d55c8c641fdb4f61770548e4f9318ee276
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
- <% if object.selection_type == "quickpick" %>
24
- <%= pb_rails("text_input", props: {
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
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "12.26.0"
5
- VERSION = "12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown813"
5
+ VERSION = "12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown817"
6
6
  end
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.PLAY603datepickerquickpickinputpresetdropdown813
4
+ version: 12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown817
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX