extjs input text maskRe

Posted by user121196 on Stack Overflow See other posts from Stack Overflow or by user121196
Published on 2010-04-08T23:11:48Z Indexed on 2010/04/08 23:13 UTC
Read the original article Hit count: 1246

Filed under:
|

In EXTJS, the following maskRe doesn't work in that it doesn't put the restriction of max 5 characters on the text field, why?

 {
                        xtype: 'textfield',
                        fieldLabel: '* Zip Code',
                        allowBlank: false,
                        maskRe: /\d{0,5}/i
                    }

© Stack Overflow or respective owner

Related posts about extjs

Related posts about regex