X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..HEAD:/examples/form/file-upload.html?ds=inline diff --git a/examples/form/file-upload.html b/examples/form/file-upload.html index 53126e21..d04a49e9 100644 --- a/examples/form/file-upload.html +++ b/examples/form/file-upload.html @@ -1,16 +1,18 @@ +
- -The js is not minified so it is readable. See file-input.js.
+This example demonstrates use of Ext.form.field.File, a file upload field with custom rendering.
+The js is not minified so it is readable. See file-upload.js.
+ +
- Basic FileUpload
- A typical file upload field with Ext style. Direct editing of the text field cannot be done in a
- consistent, cross-browser way, so it is always read-only in this implementation.
-
getValue
+ method will
+
+
+
- Basic FileUpload (Button-only)
You can also render the file input as a button without the text field, with access to the field's value via the
- standard Ext.form.TextField interface or by handling the fileselected event (as in this example).
-
- Form Example
- The FileUploadField can also be used in standard form layouts, with support for anchoring, validation (the
- field is required in this example), empty text, etc. This example also demonstrates using the
- buttonCfg option to provide a customized icon upload button.
-