Hi Phil,
Sorry for the inconvenience.
No, this issue was fixed with our Volume 2 2018 release. You can achieve this by assigning args.cancel value as true in the close event as shown in the below code snippet. In order to make the event arguments common for all EJ2 input components, we have used args.cancel instead of preventDefault() method to restrict the popup close in our components. Also, in DatePicker, preventDefalut() method will be deprecated in any of our upcoming releases.So, we suggest you to go with args.cancel to restrict the popup close as it will be common with all our input components.
|
<script>
function onClose(args) {
args.cancel = true;
}
</script> |
Note: This is common for all the calendar components.
Regards,
Prem Kumar M