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

Unexpected behavior of Paste. Again!

1 Answer 57 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Vadimir
Top achievements
Rank 1
Vadimir asked on 17 Dec 2014, 01:33 PM
Hi,
I'm using Telerik version 2014.3.1202.40. The MaskedtextInput control in "Masked Input Text Input" Demo has an unexpected behavior.
Here is the configuration I have.
  Mask: (empty)
  Text Mode: MaskedText.
  Input Behavior: Replace
  Selection On Focus: SelectAll
  Update Value Event: LostFocus.

Replication Steps:
1. Type ABC in text input.
2. Select A. Copy A using Ctrl + C.
3. Move cursor after C. Paste using Ctrl + V.

What I expect: ABC becomes ABCA.
Actual result: (empty)

Please fix it! and test before releasing a new version!
It is not the first time that we have the copy-paste error on this control. It is one of the most basic function. 

/Gong

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 18 Dec 2014, 01:26 PM
Hi Gong,

Indeed this is a bug in our MaskedInputControls. We logged it in our feedback portal where you can track its status. We also updated your telerik account points.

Just for clarification - this is not regression bug, this scenario has never worked in our previous Releases. 
The fix will include the following - Pasting "A" next to "ABC" will produce "ABCA".

As a workaround if this is applicable in your scenario, you can set InputBehavior="Insert". Other workaround is to override RadMaskedTextInput and its method HandlePasteNoMask.

Regards,
Petar Mladenov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Vadimir
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or