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.10.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.9.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.8.4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.8.3 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.8.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.7.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.6.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.6.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.6.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.5.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.5.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.2 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.1 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.0.pre.alpha6 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-7.4.0.pre.alpha5 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb