View Full Version : TextField using MaskRe + Internet Explorer 11

4 Aug 2014, 1:33 AM
Hi everyone :)

I don't want to allow a user to enter in a TextField other characters than numeric one.
For doing this, I'm using maskRe and defined a regular expression as simple as [0-9].
maskRe: /[0-9]/,

But for some reason, the user is still allowed to enter a special character (& " ! $ %) but that issue only occurs on Internet Explorer 11 !
Does anyone has an idea on how to fix that issue ?


Gary Schlosberg
5 Aug 2014, 6:22 AM
Couldn't find an existing issue like that. In which version of ExtJS are you seeing this behavior?

5 Aug 2014, 7:06 AM
I'm using the 4.1.1 Extjs version.

Gary Schlosberg
5 Aug 2014, 8:21 AM
EXTJS 4.2.2 is the first version of ExtJS to support IE11 (released 10/2013). I did see the behavior you described using 4.1.1, but it doesn't seem to occur in 4.2.2 or 5.0.0. I couldn't find a specific bug for the fix, so I'm afraid I don't have a workaround to offer.