PDA

View Full Version : TextField password with emptytext



RutgerB
5 Jun 2007, 4:14 PM
Not really much of a problem but since extjs is so refined this might aswell be added too:



new Ext.form.TextField({
fieldLabel: 'Password',
emptyText: 'Enter password',
name: 'password',
inputType: 'password',
width:100,
allowBlank:false
})


The emptyText property is useless here because only *** will be displayed, it would be nice if this was fixed, for example by changing the inputType on the fly when content is entered..