Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

FormItems accepting non-printable characters (MSIE)

$
0
0
Hi,

We have noticed that TextItems readily accepts non-printable characters (\u0013, \u0007, \u0006, etc.) when running in Microsoft Internet Explorer.

Google Chrome and Safari will ignore all characters after encountering the first non-printable character.
Pasting '>>>\u0013<<<' will only result in '>>>' being displayed in the TextItem.

Firefox seems to be converting the non-printable characters into a space.

We obviously don't want to have to add code to each and every TextItem to filter-out these non-printable characters in a change[d]Handler or something along those lines.

Filtering-out the non-printable characters after every getValueAsString() invocation is not ideal either.

Is this something that Isomorphic should/could be handling in the FormItem classes or is this something that we should be handling ourselves (any suggestion as to how accomplish this?)

Thanks,

Frederic

See also: http://forums.smartclient.com/showthread.php?t=26711

1. the *complete* SmartGWT or SmartClient version

SmartClient Version: v9.1p_2014-05-15/Pro Deployment (built 2014-05-15)

2. browser(s) and version(s) involved

Microsoft Internet Explorer 11
Version: 11.0.9600.16518
Update versions: 11.0.3 (KB2909921)
Product ID: 00150-20000-00003-AA459

Viewing all articles
Browse latest Browse all 4756

Trending Articles