Sha256: 83530a81f1fbc16c92c2821b3b462f81f90dceb50ee878d78cccaf88dc44e297

Contents?: true

Size: 1.1 KB

Versions: 71

Compression:

Stored size: 1.1 KB

Contents

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

<%= pb_rails("date_picker", props: {
  disable_date: [(Date.today + 1).httpdate, (Date.today + 3).httpdate],
  label: "Disable Multiple Dates",
  picker_id: "multiple-disabled-dates"
}) %>

<%= pb_rails("date_picker", props: {
  disable_range: [
          {
            from: (Date.today + 1).httpdate,
            to: (Date.today + 7).httpdate,
          },
        ],
  label: "Disable Single Range",
  picker_id: "single-date-range"
}) %>

<%= pb_rails("date_picker", props: {
  disable_range: [
          {
            from: (Date.today + 1).httpdate,
            to: (Date.today + 3).httpdate,
          },
          {
            from: (Date.today + 7).httpdate,
            to: (Date.today + 14).httpdate,
          },
        ],
  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

71 entries across 71 versions & 1 rubygems

Version Path
playbook_ui-7.4.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.0.pre.test4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.0.pre.test3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.0.pre.test2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.0.pre.alpha4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.0.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha12 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha11 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha10 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha9 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha8 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha7 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha6 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha5 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.3.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb