-
21 Sep 2011 4:48 AM #111
Extjs 4.0 version
Extjs 4.0 version
FYI to all.... I found a 4.0 version at : http://www.extjs.com.br/forum/index....e;topic=4808.0
It works great!Andy
-
14 Dec 2011 6:23 AM #112
Problems with ip address
Problems with ip address
Hi:
im using this plugin to mask an ip address like that:
but when i want to write an ip addres like 192.168.1.2 doesn't work, i must put 192.168.001.002Code:var comp = new Ext.form.TextField({ name:'ip-address', fieldLabel:'ip address', plugins: [new Ext.ux.InputTextMask('999.999.999.999', true)] });
is there any way to solve this problem
-
28 Dec 2011 11:27 AM #113
Extjs 4 Source code and version controlled
Extjs 4 Source code and version controlled
I create a project to build ExtJS extensions. And put this InputTextMask in them.
The version works with Extjs 4.
The project is in: https://bitbucket.org/giovanni/extjs/
-
24 Feb 2012 4:23 PM #114
Email mask?
Email mask?
Awesome extension first off, is there an example for email input?
Is it possible?
-
31 Jul 2012 3:37 AM #115
I have used the masking plugin - it works but i have a specific requirement.
1. When the page is loaded it is not showing the masking for the field, Even though i have set. Only when i click inside the field that it shows the masking.
2. When i doi should just get the field value without masking, ie i should get "1111111111" instead of "(111)111-1111" .Code:Ext.getCmp('phone').getValue()
example of code that i tried:
Any help is appreciated.Code:{ xtype: 'textfield', fieldLabel: 'Phone', id: 'phone', allowBlank: false, plugins: [new Ext.ux.InputTextMask('(999)999-9999', false)] },
-
6 Aug 2012 2:16 PM #116
In my application I have defined a form to edit employees. This form is instantiated on the main employee edit page. I have another instance of this for that exists in a hidden window. For some reason having 2 of the same objects with input masks as children really messes things up. I have been able to throw together a simple test case that breaks in the same way as my actual application.
When I run this I get the following errorCode:Ext.define('form', { extend: 'Ext.form.Panel', items:[{ xtype:'textfield', fieldLabel: 'test', plugins: [new Ext.ux.InputTextMask('99999-9999', false)] }] }); var win1 = Ext.create('Ext.Window', { height: 300, width: 300, items: Ext.create('form') }); var win2 = Ext.create('Ext.Window', { height: 300, width: 300, items: Ext.create('form') }); win1.show(); win2.show();
Can someone else verify this behavior?Code:TypeError: this.field.inputEl is undefined this.inputTextElement = this.field.inputEl.dom
Last edited by brentdooley999; 6 Aug 2012 at 2:21 PM. Reason: I think I changed my reference to "Ext.ux.InputTextMask". You might have to change your example locally.
-
16 Oct 2012 7:54 AM #117
Yes brentdooley999, I am experiencing the same problem. I have a 'master' form with a plugin field on it. When the form is extended to two children, I get lock-up on the field. Anyone solved this?
Andy
-
16 Oct 2012 11:11 AM #118
Not possible
Not possible
The way mask does, it is not possible make an email mask. Because the mask have to be the number of input characters, for example, a mask of 9999 have to be 4 digits. Not possible do the same as regular expressions can do, but if your specific mask is some like user@domain.com and '@domain.com' is fixed and user have exact 4 digits, them you could.


Reply With Quote