
Steps to reproduce:
1) Open the Actipro Software WPF Controls Sample Browsesr application
2) Go to Editors > Masked Text Box
3) Enter this as a mask:
(\d*|NaN),(NaN|\d*)
4) Enter "NaN,1234" into the top text box (with the "Text matches mask" checkbox)
5) Place your cursor at the beginning of the text box (next to the first "N" in "NaN")
6) Hit the delete key
7) Expected: "NaN" is deleted leaving the ",1234"
8) Actual: Everything is deleted but the comma, leaving "," in the text box
Is there a way to stop this from happening? I want to be able to edit the first number while leaving the second number. (the PointEdit does not work in my case because you recently removed the "AllowNaN" feature).
EDIT:
More Info: if I use a single character placeholder instead of NaN, it seems to work correctly.
Doesnt work
[NaN, 1234]
does work
[*,1234]
Thanks,
Brian
[Modified 7 years ago]