title: Sencha touch 2.3.1 file upload not working xtype:filefield not working
body: <p>I am trying to upload an image using sencha touch 2.3.1. After googling I found that I can use xtype:fileinput and xtype:filefield for capturing files from both gallery and camera.</p>
  
  <p>Here are the contents of items array in my View</p>
  
  <pre><code>items : [
              {
                 xtype : 'filefield',
                 name : 'coverPicImage',
                 accept: 'image',
                 label : 'Cover pic'
              }
          ]
  </code></pre>
  
  <p>Here is the controller</p>
  
  <pre><code>config: {
      refs :{
          coverPicFile : 'uploadform filefield[name=coverPicImage]',
          submitButton : 'uploadform button[action=submit]'
       },
      control: {
          submitButton:   {
              tap : 'onSubmit'
          }
      }
  }
  
  onSubmit : function(){
      var coverPicInput = this.getCoverPicFile().input;
      var files = coverPicInput.dom.files;
  }
  </code></pre>
  
  <p>The problem is this.getCoverPicFile().input is undefined. this.getCoverPicFile() returns a class.</p>
  
  <p><strong>If I change filefield to fileinput it works fine</strong>.</p>
  
  <p>The error which I get is </p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'dom' of undefined 
  </code></pre>
  
  <p>Is there any reason for why this is not working with filefield</p>
  
  <p>Thanks in advance</p>