plugins icon indicating copy to clipboard operation
plugins copied to clipboard

DateTimePicker Events

Open mrwrighty opened this issue 3 years ago • 1 comments

Can you list the events available on the DateTimePicker. I have used datePickerClosed, datePickerOpened, are there any others.

I have an issue where cancel triggers the datePickerClosed function even though no date was selected/changed.

Is there a function to stop the DateTimePicker opening if certain criteria are not met.

Is there a way to programatically close the DateTimePIcker.

mrwrighty avatar May 16 '22 13:05 mrwrighty

OK By removing the callback(null) from index.ios.js on the cancelAction this stops the datepickerclosed function triggering. There is no reason to trigger this on cancel as assumed no date is required.

Created a Pull Request.

mrwrighty avatar May 24 '22 15:05 mrwrighty