Does SfMaskedEdit Cache Values?

I could just have a very strange databinding issue going on that I have yet to figure out but I figured I would ask if this control is caching values?

I have a simple form with a TextBox (Person Name), and two SfMaskedEdit controls (both masked for dates). Each has the same DataContext on the same ViewModel but the Text is bound to the respective property, for example:

<syncfusion:SfMaskedEdit

                            DataContext="{Binding Person}"

                            FontSize="18"

                            Mask="00-00-0000"

                            Text="{Binding DOB, Mode=TwoWay}"/>

Once the new user is created, I new up the Person object so all of the databound fields are defaulted again, however, if I attempt to add a second user then the values for the masked textboxes auto-populate with the previous person's values as soon as the masked text box receives focus.

If I bind to the Value property of the masked text box rather than the Text property then this seems to be fixed but then tabbing into the masked text box results in the cursor being at the end of the mask rather than the beginning.


6 Replies

BR Bharathi Rajakantham Syncfusion Team June 27, 2021 05:25 PM UTC

Hi Scott, 
 
Thanks for contacting Syncfusion Support. 
 
We have checked the reported query “Cursor position appears at end on pressing tab key” with the SfMaskedEdit from our end. We can be able to reproduce the reported issue from our end. We have logged a bug report on this. The patch for this fix is expected on 18th July 2021. We will provide you the feedback link shortly. We appreciate your patience until then. 
 
Regards, 
Bharathi R 



SC Scott June 27, 2021 06:09 PM UTC

Much appreciated  Bharathi, look forward to the fix.



BR Bharathi Rajakantham Syncfusion Team June 28, 2021 12:50 PM UTC

Hi Scott, 
 
Thanks for your update. 
 
You can track the status of the issue using the feedback link below. 
 
Regards, 
Bharathi R 



SN Sudharsan Narayanan Syncfusion Team July 14, 2021 02:38 PM UTC

Hi Scott,

Thanks for the patience,

The reported issue “Cursor position appears at end on pressing tab key” has been fixed.  
         
This patch which can be download from the below links.  
 
Recommended approach - exe will perform automatic configuration.            
       
Please find the patch setup from below location:           
         
Patch link :             
 
Please find the patch assemblies alone from below location:            
        
Assemblies Link:    
NuGet link:  
 
 
Assembly Version: 19.1.0.63     
            
Installation Directions:            
This patch should replace the files " Syncfusion.SfInput.WPF” under the following folder.            
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\[TargetFramework]            
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\19.1.0.63\precompiledassemblies\19.1.0.63\ 4.6  
            
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you must manually copy and paste them to the preferred location, or you must run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.            
            
            
Disclaimer:            
Please note that we have created this patch for version 19.1.0.63 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.  Please let us know, if you are using any other Syncfusion version, we will provide patch in your version.   
  
Please let us know if you need any further assistance on this. We will be glad to assist you  
  
Regards,        
Sudharsan  



SC Scott August 2, 2021 01:53 AM UTC

Apologies for the delay, been pretty busy. With that said, the patch appears to be working as expected so thank you for your team's efforts.



SN Sudharsan Narayanan Syncfusion Team August 2, 2021 05:28 AM UTC

Hi Scott,

 
Thanks for the update.

 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you😊.

 
Regards,
Sudharsan


Loader.
Up arrow icon