浏览代码

Merge branch 'master' of github.com:transloadit/uppy

Kevin van Zonneveld 5 年之前
父节点
当前提交
653a814af8
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      website/src/docs/xhrupload.md

+ 4 - 2
website/src/docs/xhrupload.md

@@ -67,8 +67,10 @@ When `formData` is set to true, this is used as the form field name for the file
 ### `metaFields: null`
 
 Pass an array of field names to limit the metadata fields that will be sent to the endpoint as form fields.
-For example, `metaFields: ['name']` will only send the `name` field.
-Setting this to `null` (the default) will send *all* metadata fields.
+
+* Set this to `['name']` to only send the `name` field.
+* Set this to `null` (the default) to send *all* metadata fields.
+* Set this to an empty array `[]` to not send any fields.
 
 If the `formData` option is set to false, `metaFields` has no effect.