11 Jul 2013 11:48 PM #1
Unanswered: xtype file; selecting the file doesn't update the textfield with the filename
I have a strange problem with the xtype file. The selection of the files works as supposed but on the Android 4.1.2 once the file is selected the textfield that should contain the filename is empty.
This is a problem because then the user doesn't understand that the file has indeed been selected.
Also sometimes the file selection restarts the app and I don't understand why.
Did anybody else have these problems and how did you solve it?
Thank you very much for all your help and your suggestions. Please feel free to ask more info if needed.
14 Jul 2013 2:47 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
That's interesting... have you tried a plain <input type="file" /> on a normal html page to see if that device shows the same behavior?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
14 Jul 2013 11:34 PM #3
I tried on the vanilla phonegap(2.9.0) project with this index.html:
When I start the app I get only the button but there is no textfield anywhere. I can choose a file but once the file is picked I don't have any feedback because there is no textfield to be filled in.