diff --git a/packages/datetimepicker/index.ios.ts b/packages/datetimepicker/index.ios.ts index 3c1c60bf..4b465b17 100644 --- a/packages/datetimepicker/index.ios.ts +++ b/packages/datetimepicker/index.ios.ts @@ -143,7 +143,7 @@ export class DateTimePicker extends DateTimePickerBase { const okButtonText = options.okButtonText ? options.okButtonText : 'OK'; const cancelActionStyle = style && style.buttonCancelBackgroundColor ? UIAlertActionStyle.Default : UIAlertActionStyle.Cancel; let cancelAction = UIAlertAction.actionWithTitleStyleHandler(cancelButtonText, cancelActionStyle, () => { - callback(null); + //callback(null); }); let okAction = UIAlertAction.actionWithTitleStyleHandler(okButtonText, UIAlertActionStyle.Default, () => { callback(pickerView.date);