cordova-plugin-datepicker
cordova-plugin-datepicker copied to clipboard
Cancel button handler issue
Hi,
Can anybody please help me how to use cancel button handler?
Any news on this?
Since you were clicking button cancel, you are invoking success callback. To handle exception on iOS devices i suggest - add this to success callback:
if (date === undefined) { return; }
i am getting date in success even if i click on cancel button.
Thx, it helped !!