Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TextItem bug

    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:

    Code:
    {name: "username",
    title: "Username",
    type: "text",
    required: true,
    defaultValue: "ABCDEF",
    characterCasing: "upper",
    changeOnKeypress: false
    },
    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:
    1. In the above example, the userName field will default the value to ABCDEF when the control is first presented to the user.
    2. Delete "BCDEF" and leave "A".
    3. Type "z" (lower case).
    4. The value of the userName field changes to "AZBCDEF", instead of "AZ".

    Regards,
    Gary O'Donnell

    #2
    Thanks for reporting this issue to us. We have been able reproduce the issue and we're currently investigating what's causing it. Update will follow once resolved.

    Comment


      #3
      This issue has now been resolved and will be available in a nightly build in a day or so.

      Comment


        #4
        That's great - thanks again for the quick response. We will apply the update next week and let you know how we get on.

        Comment

        Working...
        X