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_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb