Ext.ux.form.field.UploadFileField and Ext.ux.form.field.ImageFileField
You probably encountered the same problems like I did with the file upload field. You have a form with a file upload field, you can upload the file but if you want to remove it from the server you need workarounds. So, I did a small enhancement to the file upload field to be able to specify if I want to delete the file or not. It's a simple toggle button. If this is pressed then the file field is acting like a textfield sending to the form the value "delete" which you can catch on the server and remove the file.
This component extends the previous component adding a "preview" button useful when you upload images. When you have a form with an already existing record you could preview the image quite easy.
We've experienced a bug with this code. If you use the codemirror component on a tab panel in a window where the component is on, say, the third tab and the user switches between tabs 1, 3, 1 and back to 3, the whole layout breaks down and an error is thrown.
Seems to stem from publishInnerWidth method. As yet I can't find a solution to this so any help appreciated.