Sha256: a4d97e5357bcdb3bd6365d8d314295ecebfb3d311622f4939d12bd3b3dde3674

Contents?: true

Size: 1.21 KB

Versions: 2016

Compression:

Stored size: 1.21 KB

Contents

<%= pb_rails("date_picker", props: {
  disable_date: [(DateTime.current + 1.day).utc.iso8601],
  label: "Disable Single Date",
  picker_id: "single-disabled-date"
}) %>

<%= pb_rails("date_picker", props: {
  disable_date: [(DateTime.current + 1.day).utc.iso8601, (DateTime.current + 2.day).utc.iso8601],
  label: "Disable Multiple Dates",
  picker_id: "multiple-disabled-dates"
}) %>

<%= pb_rails("date_picker", props: {
  disable_range: [
          {
            from: DateTime.current.utc.iso8601,
            to: (DateTime.current + 7.day).utc.iso8601,
          },
        ],
  label: "Disable Single Range",
  picker_id: "single-date-range"
}) %>

<%= pb_rails("date_picker", props: {
  disable_range: [
          {
            from: (DateTime.current + 1.day).utc.iso8601,
            to: (DateTime.current + 2.day).utc.iso8601,
          },
          {
            from: (DateTime.current + 7.day).utc.iso8601,
            to: (DateTime.current + 14.day).utc.iso8601,
          },
        ],
  label: "Disable Multiple Ranges",
  picker_id: "multiple-date-ranges"
}) %>

<%= pb_rails("date_picker", props: {
  disable_weekdays: ['Sunday', 'Saturday'],
  label: "Disable Specific Weekdays",
  picker_id: "disabled-weekdays"
}) %>

Version data entries

2,016 entries across 2,016 versions & 2 rubygems

Version Path
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.18.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.17.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.16.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.15.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.14.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.13.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.12.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.11.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.10.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb