SmartClient Version: v10.0p_2015-07-30/PowerEdition Deployment (built 2015-07-30)
I believe I have found a bug within SmartClient/SmartGWT. This issue is easily reproduced in the SmartClient ShowCase using the Form Layout Titles example (http://www.smartclient.com/#formLayoutTitles).
Simply replace the definition of userName in the example with the following:
Note that BOTH characterCasing and changeOnKeypress attributes need to be present for this issue to occur.
The issue is that when you edit the userName field by deleting some, but not all, characters and then type another lower-case character, the previously deleted characters are appended back into the string. For example:
Regards,
Gary O'Donnell
I believe I have found a bug within SmartClient/SmartGWT. This issue is easily reproduced in the SmartClient ShowCase using the Form Layout Titles example (http://www.smartclient.com/#formLayoutTitles).
Simply replace the definition of userName in the example with the following:
Code:
{name: "username", title: "Username", type: "text", required: true, defaultValue: "ABCDEF", characterCasing: "upper", changeOnKeypress: false },
The issue is that when you edit the userName field by deleting some, but not all, characters and then type another lower-case character, the previously deleted characters are appended back into the string. For example:
- In the above example, the userName field will default the value to ABCDEF when the control is first presented to the user.
- Delete "BCDEF" and leave "A".
- Type "z" (lower case).
- The value of the userName field changes to "AZBCDEF", instead of "AZ".
Regards,
Gary O'Donnell
Comment