Tried with SC_SNAPSHOT-2011-05-13/PowerEdition Development Only (built 2011-05-13)
Run this sample in Chrome. You'll notice that the cursor pointer goes to the front of the new character added instead of the end of the whole string causing any new input to be appended before the last character. Note that the actual functionality of our transformInput is not the same as the sample below, but follows the same idea of appending a character in the current value.
This problem is not reproduceable in IE or FF
Run this sample in Chrome. You'll notice that the cursor pointer goes to the front of the new character added instead of the end of the whole string causing any new input to be appended before the last character. Note that the actual functionality of our transformInput is not the same as the sample below, but follows the same idea of appending a character in the current value.
This problem is not reproduceable in IE or FF
Code:
isc.DynamicForm.create({ width: 300, fields: [ {title:"Item", type:"text", transformInput: function(form, item, value, oldValue){ return value+"1"; }} ] });
Comment