Unplanned
Last Updated: 28 May 2020 09:27 by ADMIN
Farzin
Created on: 26 May 2020 16:25
Category: MaskedTextBox
Type: Bug Report
3
RTL MaskedTextBox is ignored when using decimal separator - adds an extra masked character

I need to enter number (signed)  from the right, and want to use maskedtextbox or any control on your suggestion,
but using textalignment with text align right or rtl - right to left- didn't work.
Both has problems, I'm using mask of "###,###,###,###,###"
Unfortunately both right to left or textlighn not working correctly

I want to enter numbers from the right, separating 3 digits from right with commas.

 

3 comments
ADMIN
Alex Hajigeorgieva
Posted on: 28 May 2020 09:27

Hello, Farzin,

Thank you very much for clarifying, it appears that when using RTL the comma separating value should not be there indeed and I have transformed this item to a bug report and you can now find it in our feedback portal here:

https://feedback.telerik.com/aspnet-mvc/1468919-rtl-maskedtextbox-is-ignored-when-using-decimal-separator-adds-an-extra-masked-character

Or from GitHub here:

https://github.com/telerik/kendo-ui-core/issues/5810

The more votes the item attracts, the sooner we can add it to our ongoing tasks.

I have also updated your Telerik points.

On a side note, you mentioned that the regular masked textbox(LTR) is also behaving unexpectedly, I tested this Dojo and the behaviour I am getting is as expected:

https://dojo.telerik.com/UjexuCUk

Let me know if I am missing something so we can enhance the bug report and cover it in the fix.

Regards,
Alex Hajigeorgieva
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Farzin
Posted on: 27 May 2020 16:23

Hey Alex,

I thought I've explained enough. Let me try again:

When we're entering signed numbers in format '###,###,###,###,###'
When we type like 1'000 We expect and want to receive it like

'___,___,___,___,__-' then '___,___,___,___,_-1' then '___,___,___,___,-10' then '___,___,___,__-,100' then '___,___,___,_-1,000'

 

But what we have now,
'-_,___,___,___,___' then '-1_,___,___,___,___' then '-10,___,___,___,___' then '-100,0___,___,___,___' then

 

with using RTL, it's even worse !  attention to comma separated number it's not 3 digits any more !!

I guess it reverse the number typed and then format it separately !!!

'___,___,___,___,-' then'___,___,___,___,-1' then '___,___,___,___,-10' then '___,___,___,___,-10,0' then '___,___,___,-10,00'

 

All your help is appreciated
Farzin

ADMIN
Alex Hajigeorgieva
Posted on: 27 May 2020 15:56

Hello, Farzin,

Can you tell me what kind of problems you are referring to?

I tested a modified version of this online demo and it seems to work well:

https://dojo.telerik.com/@bubblemaster/eciTinos

If you believe that there is a fault with it, can you please describe in more details how to reproduce the fault, what is the current behaviour vs the expected behaviour.

Look forward to hearing back from you.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.