This is a migrated thread and some comments may be shown as answers.

MaskedInput strips out placeholder characters

1 Answer 35 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 11 Mar 2013, 12:42 PM
The scenario is as follows:

We have a RadMaskedInput control on our page. The control is used for date selection. We have it bound to a separate datepicker's textbox (which we have hidden in our styles). The reason is we needed a masked input so users could type and still see invalid data, whereas the datepicker by default deletes the data when invalid so the user can no longer see it.

The problem arises when using numbers as placeholders. For example, the default placeholder we use is a '0'. When a date is entered such as "10/10/1990" the mask is applied and instead displays "11/19/9000". It strips out all of the 0's and squezes all other numbers together. This happens with all other numbers as well. If "1" is used as the placeholder, the above date would read "00/99/1111".

Also, this just started happening when we updated from last year's version to the current 2013 Q1 release. Any help is appreciated!

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 13 Mar 2013, 10:45 AM
Hello Andrew,

Please accept our apology for this inconvenience. This is a known issue and it is logged in our PITS where you can track its progress and vote to increase its priority.

Kind regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Andrew
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or