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