Sha256: a5bd95782e38fe308e68116983a212157e87519da370dc1cf9ba592f0c37b416

Contents?: true

Size: 875 Bytes

Versions: 1331

Compression:

Stored size: 875 Bytes

Contents

The customQuickPickDates/custom_quick_pick_dates prop allows for the user/dev to define their own quick pick dates. 
The prop accepts an object with two key/value pairs: dates & override (separate doc example below).

The dates property accepts an array of objects. Each object in the array has label and value properties. The label is what will be displayed in the UI of the dropdown menu. The value property is just the date that is going to be passed to the datepicker. The value property can be an array of two strings that represent a range, allowing for the dev to be extremely specific. Additionally, the dates array allows for a clean, simple API under that automatically converts dates in a common vernacular. 

The timePeriod property accepts "days", "weeks", "months", "quarters" or "years", representing past time periods. 
The amount property accepts any number.

Version data entries

1,331 entries across 1,331 versions & 2 rubygems

Version Path
playbook_ui_docs-14.12.0.pre.alpha.play1790darkaudittable5802 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.12.0.pre.alpha.play1790darkaudittable5802 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui_docs-14.12.0.pre.alpha.play1752updatecontenttag5801 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.12.0.pre.alpha.play1752updatecontenttag5801 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui_docs-14.13.0.pre.rc.6 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.13.0.pre.rc.6 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui_docs-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.13.0.pre.rc.5 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobug5781 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui_docs-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.13.0.pre.rc.4 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui_docs-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.12.0.pre.alpha.playrailsinputmaskissue5775 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5757 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui_docs-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.12.0.pre.alpha.PBNTR456fixedconftoastrailsautoclose5754 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui_docs-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md
playbook_ui-14.12.0.pre.alpha.PLAY1602lightboxoverlapnitrobugzindextoken5751 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_quick_pick_custom.md