Sha256: 523ce0b667193a2543e93e9243dfb364b6555dc9b5700369ee640b1c271e85de

Contents?: true

Size: 467 Bytes

Versions: 1048

Compression:

Stored size: 467 Bytes

Contents

Your change handler function has access to two arguments: `dateStr` and `selectedDates`.

The first, `dateStr`, is a string of the chosen date.  The second, `selectedDates`, is an array of selected date objects. In many use cases `selectedDates` will have only one value but you'll still need to access it from index 0.

NOTE: On Change does not account for manual input by users, so if your date picker sets `allowInput`, you should use the `onClose` method instead.

Version data entries

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

Version Path
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.11.0 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui_docs-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui_docs-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui_docs-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui_docs-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui_docs-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui_docs-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui_docs-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui_docs-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md
playbook_ui-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md