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.PLAY1720phonenumberinputformatAsYouType5377 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1720phonenumberinputformatAsYouType5377 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.1.pre.alpha.play17725374 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.play17725374 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.1.pre.alpha.play17725372 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.play17725372 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.12.0.pre.rc.4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.12.0.pre.rc.4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.1.pre.alpha.hfhbrakemanplaybook5370 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.hfhbrakemanplaybook5370 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.1.pre.alpha.responsivetablerails5364 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.responsivetablerails5364 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.1.pre.alpha.responsivetablerails5362 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.responsivetablerails5362 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PBNTR769sticky5359 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR769sticky5359 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PBNTR573datepickerinvestigation5355 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR573datepickerinvestigation5355 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.html.erb