PDA

View Full Version : [DUP] input type='file'



XASD
9 Nov 2012, 7:34 AM
{
xtype: 'input',
type: 'file'
}

still not work. type='text' is generated.
As I can understand,the only way to implement 'type' change is complete replacement of corresponding input element with new 'type'. So event binding-initElement(), must be reinitialized on replace.

Thanks.

mitchellsimoens
9 Nov 2012, 8:48 AM
I already have a bug open for this. The reason is the browser does not allow to switch the type attrib on <input> to file which is what is currently happening

XASD
17 Dec 2012, 6:11 AM
Interesting thing that I don't change anything,I create input field.