MaskedInput strips out placeholder characters

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    1 posts
    Member since:
    Jan 2013

    Posted 11 Mar 2013 Link to this post

    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!
  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 13 Mar 2013 Link to this post

    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.

  3. DevCraft banner
Back to Top