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.
Much appreciated Bharathi, look forward to the fix.
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:
|
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.