I have encountered an issue in IE where all characters are not being deleted when a user holds down the backspace key to remove values from a dynamic form field that has a mask applied. It seems after the first few characters are removed the second one deleted reappears back on the end of the string past the cursor.
This behavior is seen in SmartClient 8.0 and 8.1 LGPL against IE 8.0.6001.1870 (and others).
A simple snippet that reproduces the issue is shown below. To see the issue, this snippet can be pasted into any of the Examples pages, fill in the field with numbers, put your cursor between the last two numbers (right most), and hold down the backspace key. There should be one number left in the field, but instead there are two. It is worth noting that if you use a long string of characters and do this multiple times there will be a character added for each time you hold down backspace key to perform the delete.
Does anyone know of a workaround or some settings that can be applied to force deletion of all characters?
This behavior is seen in SmartClient 8.0 and 8.1 LGPL against IE 8.0.6001.1870 (and others).
A simple snippet that reproduces the issue is shown below. To see the issue, this snippet can be pasted into any of the Examples pages, fill in the field with numbers, put your cursor between the last two numbers (right most), and hold down the backspace key. There should be one number left in the field, but instead there are two. It is worth noting that if you use a long string of characters and do this multiple times there will be a character added for each time you hold down backspace key to perform the delete.
Code:
isc.DynamicForm.create({ fields: [ {name: "test", title: "Test", type: "text", width: 100, mask:"999999999999999" } ] });
Comment