Ver código fonte

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

Kevin van Zonneveld 5 anos atrás
pai
commit
653a814af8
1 arquivos alterados com 4 adições e 2 exclusões
  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.