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 )
Prerequisite: there must be an existing string in the text item, and the item should not be focused
Thanks!
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 )
- TextItem nameField = new TextItem("name", "Name");
- nameField.setWidth(200);
- nameField.setHint("Mapped to uppercase");
- nameField.setCharacterCasing(CharacterCasing.UPPER);
Prerequisite: there must be an existing string in the text item, and the item should not be focused
- Click in the middle of the existing string
- CTRL + A -> paste string with lowercase
- TextItem has lowercase
Thanks!
Comment