fix: `onClose` callback was returning wrong selected dates if user changed input before close.
fix: `onClose` callback was returning wrong selected dates if user changed input before close.
chmln/flatpickr,chmln/flatpickr