Announcement

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

    KeyPress filter bug

    There seems to be a bug on the TextItem KeyPress Filter.
    Using the KeyPressFilter on the SmartGwt Showcase, I have a TextItem with the character casing set to UPPER:
    ( https://smartclient.com/smartgwt/sho...eypress_filter )
    1. TextItem nameField = new TextItem("name", "Name");
    2. nameField.setWidth(200);
    3. nameField.setHint("Mapped to uppercase");
    4. nameField.setCharacterCasing(CharacterCasing.UPPER);
    However, lowercase characters are still able to be placed in the textItem through these steps:

    Prerequisite: there must be an existing string in the text item, and the item should not be focused
    1. Click in the middle of the existing string
    2. CTRL + A -> paste string with lowercase
    3. TextItem has lowercase
    While there are workarounds to this ( adding a onChangedEvent and manually setting the value to all uppercase ) I was wondering if this could be fixed.
    Thanks!

    #2
    Hi Isomorphic,

    I can reproduce here (v13.0p_2024-10-31) without any sample changes.

    Best regards
    Blama

    Comment


      #3
      Thanks for the notification. We'll take a look

      Regards
      Isomorphic Software

      Comment

      Working...
      X