TimePicker Issues with using MaskSupport

hi  All

  When using the MaskSupport feature, if I set showClearButton=false,

At this point, the MaskSupport function will become ineffective. But I used the ejs datepicker control and set the same properties, but it worked properly.

1. Setting attributes resulted in no effect

Image_2927_1746608105770

 But without any settings, it is possible

Image_6654_1746608145341 

Ejs datepicker is not affected

Image_6925_1746608264675


Thanks


4 Replies

QY Qing Yuan May 12, 2025 01:15 AM UTC

Hi  All    

     I need your help to answer this question for me.

Thank you



QY Qing Yuan May 15, 2025 09:01 AM UTC

Hi  All    

     I need your help to answer this question for me.

Thank you



YS Yohapuja Selvakumaran Syncfusion Team May 16, 2025 12:07 PM UTC

Hi Qing Yuan,

We have considered this issue "When using ShowClearButton as false, the mask is not working properly" as a bug from our end, and the fix for the issue will be included in our upcoming weekly release which is expected to be scheduled on first week of June.


You can now track the status of the feedback through the link below,


Feedback link:
https://www.syncfusion.com/feedback/67650/when-using-showclearbutton-as-false-the-mask-is-not-working-properly


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”




Regards,

Yohapuja S





MR Mallesh Ravi Chandran Syncfusion Team June 17, 2025 05:17 PM UTC

Hi Qing Yuan , 

We have included the fix for the issue “When using ShowClearButton as false, the mask is not working properly” with our package version “29.2.11v”. Therefore, we recommend upgrading to our latest version to resolve the current issue. 

Sample : https://stackblitz.com/edit/angular-4dzmahzv-qnegipaf?file=package.json,src%2Fapp.component.ts,src%2Fapp.component.html

Root Cause : 

Previously , When the clear button is disabled, it does not bind the mouse events to the input element. As a result, when the input is focused, the selectionRange method is not triggered.


Regards, 
Mallesh R


Loader.
Up arrow icon