Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
XamMaskedEditor - ValueToDisplayText problem
posted

Hello,

I'm using XamMaskedEditor with a mask:

<ig:XamMaskedEditor Mask="{}{number:100000-999999}.99 / {number:100000-999999}.99" />

My problem is that if I enter a value in the 'number' sections but not anything in the '9' placeholder, the valueToDisplayTextConverter deletes everything entered after the first decimal point.

example input:

333333.__ / 333333.__

After pressing enter the display text becomes:

333333.__ / ______.__

 

What am I doing wrong? Is there a way to define the mask differently to get what I need?

 

Thanks ahead.